Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001736/0.001736, allocations: 110.1 kB / 16.46 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001969/0.001969, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.716/2.716, allocations: 476.7 MB / 0.7611 GB, free: 11.32 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N,fileNamePrefix="Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00196/0.00196, allocations: 71.89 kB / 1.104 GB, free: 9.266 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7472/0.7492, allocations: 168.7 MB / 1.269 GB, free: 5.316 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N): time 0.04091/0.7901, allocations: 33.85 MB / 1.302 GB, free: 3.355 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02683/0.8169, allocations: 14.96 MB / 1.316 GB, free: 4.355 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004207/0.8211, allocations: 155.2 kB / 1.317 GB, free: 4.203 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.01023/0.8313, allocations: 3.702 MB / 1.32 GB, free: 0.4922 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.01212/0.8434, allocations: 2.998 MB / 1.323 GB, free: 13.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.006875/0.8503, allocations: 2.334 MB / 1.325 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.01251/0.8628, allocations: 8.815 MB / 1.334 GB, free: 2.305 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/0.8756, allocations: 7.219 MB / 1.341 GB, free: 10.96 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007659/0.8832, allocations: 4.024 MB / 1.345 GB, free: 6.93 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008034/0.8913, allocations: 4.264 MB / 1.349 GB, free: 2.652 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 0.002566/0.8939, allocations: 0.7148 MB / 1.35 GB, free: 1.938 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00494/0.8988, allocations: 1.748 MB / 1.352 GB, free: 192 kB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 0.004981/0.9038, allocations: 2.895 MB / 1.354 GB, free: 13.28 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.006954/0.9107, allocations: 3.392 MB / 1.358 GB, free: 9.875 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.01481/0.9255, allocations: 11.22 MB / 1.369 GB, free: 14.62 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.9255, allocations: 0 / 1.369 GB, free: 14.62 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.443e-06/0.9255, allocations: 0 / 1.369 GB, free: 14.62 MB / 1.076 GB Notification: Performance of Transformations before backend: time 0.000285/0.9258, allocations: 0 / 1.369 GB, free: 14.62 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1338 * Number of variables: 1338 Notification: Performance of Generate backend data structure: time 0.01436/0.9402, allocations: 6.14 MB / 1.375 GB, free: 8.395 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 5.374e-05/0.9402, allocations: 8.031 kB / 1.375 GB, free: 8.387 MB / 1.076 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001436/0.9417, allocations: 0.7271 MB / 1.375 GB, free: 7.648 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00727/0.9489, allocations: 1.168 MB / 1.377 GB, free: 6.477 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009165/0.9581, allocations: 3.534 MB / 1.38 GB, free: 2.867 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003546/0.9585, allocations: 374.4 kB / 1.38 GB, free: 2.5 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001702/0.9602, allocations: 0.4959 MB / 1.381 GB, free: 2.004 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01624/0.9764, allocations: 8.002 MB / 1.389 GB, free: 9.723 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001546/0.9766, allocations: 23.88 kB / 1.389 GB, free: 9.699 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005279/0.9771, allocations: 216 kB / 1.389 GB, free: 9.488 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001038/0.9781, allocations: 437.6 kB / 1.389 GB, free: 9.059 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01127/0.9894, allocations: 6.085 MB / 1.395 GB, free: 2.961 MB / 1.092 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04407/1.033, allocations: 34.96 MB / 1.429 GB, free: 12.83 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/1.036, allocations: 1.909 MB / 1.431 GB, free: 10.92 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002579/1.039, allocations: 1.752 MB / 1.433 GB, free: 9.164 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/1.039, allocations: 21.94 kB / 1.433 GB, free: 9.141 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.873e-05/1.039, allocations: 60.5 kB / 1.433 GB, free: 9.074 MB / 1.139 GB Notification: Performance of pre-optimization done (n=171): time 4.157e-06/1.039, allocations: 0 / 1.433 GB, free: 9.074 MB / 1.139 GB Notification: Performance of matching and sorting (n=276): time 0.1493/1.188, allocations: 38.85 MB / 1.471 GB, free: 2.129 MB / 1.17 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.805e-05/1.188, allocations: 77.58 kB / 1.471 GB, free: 2.039 MB / 1.17 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003436/1.192, allocations: 2.282 MB / 1.473 GB, free: 15.74 MB / 1.186 GB Notification: Performance of collectPreVariables (initialization): time 0.0003294/1.192, allocations: 77.7 kB / 1.473 GB, free: 15.66 MB / 1.186 GB Notification: Performance of collectInitialEqns (initialization): time 0.001761/1.194, allocations: 2.338 MB / 1.476 GB, free: 13.3 MB / 1.186 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009873/1.195, allocations: 0.9798 MB / 1.477 GB, free: 12.31 MB / 1.186 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009588/1.196, allocations: 0.5141 MB / 1.477 GB, free: 11.79 MB / 1.186 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.196, allocations: 305.1 kB / 1.477 GB, free: 11.49 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003019/1.199, allocations: 1.97 MB / 1.479 GB, free: 9.516 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003467/1.203, allocations: 2.602 MB / 1.482 GB, free: 6.668 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006815/1.209, allocations: 4.929 MB / 1.487 GB, free: 1.465 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.496e-05/1.209, allocations: 8 kB / 1.487 GB, free: 1.457 MB / 1.186 GB Notification: Performance of matching and sorting (n=376) (initialization): time 0.01541/1.225, allocations: 7.649 MB / 1.494 GB, free: 9.738 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 3.827e-05/1.225, allocations: 12 kB / 1.494 GB, free: 9.727 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.817e-05/1.225, allocations: 20.88 kB / 1.494 GB, free: 9.707 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009515/1.234, allocations: 3.216 MB / 1.497 GB, free: 6.473 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/1.236, allocations: 407.2 kB / 1.498 GB, free: 6.074 MB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04791/1.284, allocations: 33.9 MB / 1.531 GB, free: 3.32 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002776/1.287, allocations: 163.8 kB / 1.531 GB, free: 3.16 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002952/1.287, allocations: 112 kB / 1.531 GB, free: 3.051 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 78 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (202): * Single equations (assignments): 196 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(10,28,71.0%), (10,28,65.0%), (6,24,77.8%), (6,24,77.8%), (5,17,84.0%), (5,17,84.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003352/1.29, allocations: 1.797 MB / 1.533 GB, free: 1.242 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007458/1.291, allocations: 345.8 kB / 1.533 GB, free: 0.9023 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01448/1.306, allocations: 7.243 MB / 1.54 GB, free: 9.578 MB / 1.248 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.274e-05/1.306, allocations: 28 kB / 1.54 GB, free: 9.551 MB / 1.248 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-05/1.306, allocations: 28.25 kB / 1.54 GB, free: 9.523 MB / 1.248 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.086e-05/1.306, allocations: 19.89 kB / 1.54 GB, free: 9.504 MB / 1.248 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02513/1.331, allocations: 12.8 MB / 1.553 GB, free: 12.53 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.899e-05/1.331, allocations: 8 kB / 1.553 GB, free: 12.52 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009984/1.332, allocations: 231.6 kB / 1.553 GB, free: 12.29 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00827/1.34, allocations: 2.851 MB / 1.556 GB, free: 9.426 MB / 1.264 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002301/1.34, allocations: 55.94 kB / 1.556 GB, free: 9.371 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0466/1.387, allocations: 32.69 MB / 1.588 GB, free: 7.824 MB / 1.295 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/1.387, allocations: 4 kB / 1.588 GB, free: 7.82 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.4, allocations: 6.79 MB / 1.594 GB, free: 0.8203 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002161/1.402, allocations: 0.7995 MB / 1.595 GB, free: 0 / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004383/1.403, allocations: 48.08 kB / 1.595 GB, free: 15.95 MB / 1.311 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/1.404, allocations: 167.8 kB / 1.595 GB, free: 15.79 MB / 1.311 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008301/1.405, allocations: 257.4 kB / 1.596 GB, free: 15.53 MB / 1.311 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001848/1.405, allocations: 79.98 kB / 1.596 GB, free: 15.45 MB / 1.311 GB Notification: Performance of sorting global known variables: time 0.002295/1.408, allocations: 1.518 MB / 1.597 GB, free: 13.93 MB / 1.311 GB Notification: Performance of sort global known variables: time 9e-08/1.408, allocations: 0 / 1.597 GB, free: 13.93 MB / 1.311 GB Notification: Performance of remove unused functions: time 0.004032/1.412, allocations: 1.371 MB / 1.599 GB, free: 12.56 MB / 1.311 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (105): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(5,17,84.0%), (6,24,77.8%), (10,28,65.0%), (5,17,92.0%), (6,24,77.8%), (10,28,65.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.01336/1.425, allocations: 7.416 MB / 1.606 GB, free: 4.926 MB / 1.311 GB Notification: Performance of simCode: created initialization part: time 0.6032/2.028, allocations: 6.557 MB / 1.612 GB, free: 318.3 MB / 1.311 GB Notification: Performance of simCode: created event and clocks part: time 1.33e-05/2.028, allocations: 5.938 kB / 1.612 GB, free: 318.3 MB / 1.311 GB Notification: Performance of simCode: created simulation system equations: time 0.00877/2.037, allocations: 4.246 MB / 1.616 GB, free: 317.4 MB / 1.311 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006242/2.043, allocations: 1.118 MB / 1.617 GB, free: 317.3 MB / 1.311 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.062/2.105, allocations: 38.96 MB / 1.655 GB, free: 301.2 MB / 1.311 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004424/2.11, allocations: 3.64 MB / 1.659 GB, free: 298.4 MB / 1.311 GB Notification: Performance of simCode: alias equations: time 0.002473/2.112, allocations: 0.5563 MB / 1.66 GB, free: 298 MB / 1.311 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00253/2.115, allocations: 1.973 MB / 1.661 GB, free: 296.1 MB / 1.311 GB Notification: Performance of SimCode: time 1.483e-06/2.115, allocations: 4 kB / 1.661 GB, free: 296.1 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1643/2.279, allocations: 112.4 MB / 1.771 GB, free: 185.5 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.64/18.91, allocations: 4.578 kB / 1.771 GB, free: 185.5 MB / 1.311 GB " [Timeout remaining time 281] (rm -f Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; mkfifo Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe >> ../files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.fmu > Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 25.503418184816837]