Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001158/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 190.8 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.243/1.243, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.372/2.372, allocations: 437 MB / 0.7101 GB, free: 5.227 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001329/0.001329, allocations: 71.91 kB / 0.8689 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5664/0.5677, allocations: 151.6 MB / 1.017 GB, free: 2.699 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L): time 0.03208/0.5998, allocations: 32.32 MB / 1.048 GB, free: 2.281 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0139/0.6137, allocations: 10.19 MB / 1.058 GB, free: 8.066 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001952/0.6157, allocations: 135.2 kB / 1.059 GB, free: 7.934 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.007716/0.6235, allocations: 3.495 MB / 1.062 GB, free: 4.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.003791/0.6273, allocations: 1.7 MB / 1.064 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004086/0.6314, allocations: 1.943 MB / 1.066 GB, free: 0.7852 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.006957/0.6384, allocations: 7.353 MB / 1.073 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01381/0.6522, allocations: 11.59 MB / 1.084 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003836/0.656, allocations: 3.22 MB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003695/0.6597, allocations: 3.653 MB / 1.091 GB, free: 6.812 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0006672/0.6604, allocations: 0.6445 MB / 1.091 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002527/0.6629, allocations: 1.779 MB / 1.093 GB, free: 4.387 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/0.6648, allocations: 2.546 MB / 1.096 GB, free: 1.836 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.002359/0.6672, allocations: 2.898 MB / 1.098 GB, free: 14.93 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00749/0.6747, allocations: 10.14 MB / 1.108 GB, free: 4.758 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6747, allocations: 4 kB / 1.108 GB, free: 4.754 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.445e-06/0.6747, allocations: 4 kB / 1.108 GB, free: 4.75 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 0.0001119/0.6749, allocations: 3.938 kB / 1.108 GB, free: 4.746 MB / 0.8575 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1256 * Number of variables: 1256 Notification: Performance of Generate backend data structure: time 0.007108/0.682, allocations: 4.994 MB / 1.113 GB, free: 15.68 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.682, allocations: 8.031 kB / 1.113 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007607/0.6828, allocations: 0.682 MB / 1.114 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004414/0.6872, allocations: 0.959 MB / 1.115 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003741/0.6909, allocations: 2.851 MB / 1.118 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002163/0.6912, allocations: 353.7 kB / 1.118 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005861/0.6918, allocations: 468.2 kB / 1.118 GB, free: 10.3 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009887/0.7017, allocations: 7.667 MB / 1.126 GB, free: 2.285 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.916e-05/0.7018, allocations: 23.78 kB / 1.126 GB, free: 2.262 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004059/0.7022, allocations: 200 kB / 1.126 GB, free: 2.066 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002807/0.7025, allocations: 316.9 kB / 1.126 GB, free: 1.754 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007678/0.7102, allocations: 5.71 MB / 1.132 GB, free: 12.03 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02765/0.7378, allocations: 35.08 MB / 1.166 GB, free: 5.738 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00236/0.7402, allocations: 2.154 MB / 1.168 GB, free: 3.469 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001394/0.7416, allocations: 1.266 MB / 1.17 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 7.512e-05/0.7417, allocations: 25.3 kB / 1.17 GB, free: 2.18 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.682e-05/0.7417, allocations: 43.88 kB / 1.17 GB, free: 2.129 MB / 0.92 GB Notification: Performance of pre-optimization done (n=133): time 2.795e-06/0.7417, allocations: 3.938 kB / 1.17 GB, free: 2.125 MB / 0.92 GB Notification: Performance of matching and sorting (n=136): time 0.01178/0.7535, allocations: 7.088 MB / 1.177 GB, free: 10.76 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.934e-05/0.7536, allocations: 68.72 kB / 1.177 GB, free: 10.68 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001568/0.7552, allocations: 1.48 MB / 1.178 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.104e-05/0.7553, allocations: 49.7 kB / 1.178 GB, free: 9.102 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.001105/0.7564, allocations: 2.004 MB / 1.18 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003416/0.7567, allocations: 489.1 kB / 1.181 GB, free: 6.586 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/0.7572, allocations: 359 kB / 1.181 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.7573, allocations: 301.1 kB / 1.181 GB, free: 5.934 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001149/0.7584, allocations: 0.9096 MB / 1.182 GB, free: 5.023 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001552/0.76, allocations: 1.597 MB / 1.184 GB, free: 3.113 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002892/0.7629, allocations: 2.733 MB / 1.186 GB, free: 68 kB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.497e-06/0.7629, allocations: 8 kB / 1.186 GB, free: 60 kB / 0.9356 GB Notification: Performance of matching and sorting (n=239) (initialization): time 0.005272/0.7682, allocations: 3.53 MB / 1.19 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.7682, allocations: 12 kB / 1.19 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.532e-05/0.7682, allocations: 28.84 kB / 1.19 GB, free: 12.44 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00236/0.7706, allocations: 0.9077 MB / 1.191 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.7716, allocations: 355.3 kB / 1.191 GB, free: 11.15 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01914/0.7908, allocations: 23.11 MB / 1.214 GB, free: 2.359 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.7919, allocations: 99.95 kB / 1.214 GB, free: 2.262 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.7921, allocations: 88 kB / 1.214 GB, free: 2.176 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 101 * 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 (185): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(3,5,77.8%), (3,5,77.8%), (3,5,77.8%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002127/0.7942, allocations: 1.616 MB / 1.215 GB, free: 0.5508 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003186/0.7945, allocations: 205.5 kB / 1.216 GB, free: 356 kB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004714/0.7992, allocations: 2.986 MB / 1.218 GB, free: 13.31 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.7993, allocations: 16 kB / 1.218 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.387e-05/0.7993, allocations: 12 kB / 1.218 GB, free: 13.29 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.818e-06/0.7993, allocations: 3.984 kB / 1.218 GB, free: 13.28 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.8097, allocations: 7.36 MB / 1.226 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.153e-06/0.8097, allocations: 4 kB / 1.226 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006989/0.8104, allocations: 175.7 kB / 1.226 GB, free: 5.512 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002206/0.8126, allocations: 0.8261 MB / 1.227 GB, free: 4.648 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001004/0.8128, allocations: 32 kB / 1.227 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4353/1.248, allocations: 21.94 MB / 1.248 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.384e-06/1.248, allocations: 5.25 kB / 1.248 GB, free: 205.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005563/1.254, allocations: 3.018 MB / 1.251 GB, free: 205 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009932/1.255, allocations: 456.7 kB / 1.251 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002669/1.255, allocations: 31.36 kB / 1.252 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007637/1.256, allocations: 72.12 kB / 1.252 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003964/1.256, allocations: 128.1 kB / 1.252 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.329e-05/1.256, allocations: 40.19 kB / 1.252 GB, free: 204.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001463/1.258, allocations: 0.9741 MB / 1.253 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.91e-07/1.258, allocations: 3.875 kB / 1.253 GB, free: 204.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.00302/1.261, allocations: 0.7873 MB / 1.253 GB, free: 204.7 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * 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 (91): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 12 systems {(2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (2,2,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%), (2,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005444/1.266, allocations: 3.616 MB / 1.257 GB, free: 203.4 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00681/1.273, allocations: 4.648 MB / 1.262 GB, free: 201 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.221e-06/1.273, allocations: 0.7188 kB / 1.262 GB, free: 201 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.003052/1.276, allocations: 2.737 MB / 1.264 GB, free: 199.2 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003153/1.279, allocations: 0.7404 MB / 1.265 GB, free: 199 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03212/1.311, allocations: 25.75 MB / 1.29 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002908/1.314, allocations: 3.11 MB / 1.293 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.00121/1.316, allocations: 456.1 kB / 1.294 GB, free: 182.4 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/1.317, allocations: 1.53 MB / 1.295 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.317, allocations: 3.656 kB / 1.295 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7432/2.06, allocations: 60.43 MB / 1.354 GB, free: 124.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001418/2.06, allocations: 251 kB / 1.354 GB, free: 124.5 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.662/4.722, allocations: 0 / 1.354 GB, free: 124.5 MB / 0.9981 GB (rm -f Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.fmu > Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches