Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.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_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N",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.0008609/0.0008608, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005424/0.005424, allocations: 170 kB / 16.26 MB, free: 6.613 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.198/2.198, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003157/0.0003157, allocations: 15.94 kB / 0.8161 GB, free: 13.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.54/0.5403, allocations: 142.4 MB / 0.9552 GB, free: 7.691 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03119/0.5715, allocations: 33.71 MB / 0.9881 GB, free: 13.55 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.01638/0.588, allocations: 11.39 MB / 0.9992 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002604/0.5906, allocations: 139.2 kB / 0.9994 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.5927, allocations: 0.686 MB / 1 GB, free: 1.297 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.004709/0.5974, allocations: 1.871 MB / 1.002 GB, free: 15.42 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.004528/0.6019, allocations: 1.996 MB / 1.004 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.01117/0.6131, allocations: 12.41 MB / 1.016 GB, free: 0.9883 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01985/0.633, allocations: 14.33 MB / 1.03 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00437/0.6374, allocations: 2.614 MB / 1.032 GB, free: 15.92 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005096/0.6425, allocations: 3.562 MB / 1.036 GB, free: 12.35 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.001113/0.6436, allocations: 324 kB / 1.036 GB, free: 12.03 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003988/0.6476, allocations: 1.914 MB / 1.038 GB, free: 10.11 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.002944/0.6506, allocations: 2.463 MB / 1.041 GB, free: 7.645 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.00427/0.6549, allocations: 2.734 MB / 1.043 GB, free: 4.891 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.01097/0.6659, allocations: 11.43 MB / 1.054 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6659, allocations: 0 / 1.054 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6659, allocations: 0 / 1.054 GB, free: 9.422 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 0.0001866/0.6661, allocations: 0 / 1.054 GB, free: 9.422 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1488 * Number of variables: 1488 Notification: Performance of Generate backend data structure: time 0.007613/0.6737, allocations: 4.648 MB / 1.059 GB, free: 4.703 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.6737, allocations: 16.03 kB / 1.059 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000972/0.6747, allocations: 0.8051 MB / 1.06 GB, free: 3.871 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004978/0.6797, allocations: 1.071 MB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004416/0.6841, allocations: 3.259 MB / 1.064 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002437/0.6844, allocations: 411.5 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007601/0.6852, allocations: 0.5392 MB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01247/0.6976, allocations: 9.075 MB / 1.074 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.6978, allocations: 31.72 kB / 1.074 GB, free: 5.109 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004876/0.6983, allocations: 236 kB / 1.074 GB, free: 4.879 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003053/0.6986, allocations: 350.8 kB / 1.074 GB, free: 4.535 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009578/0.7082, allocations: 6.83 MB / 1.081 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03314/0.7413, allocations: 40.18 MB / 1.12 GB, free: 1.797 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00326/0.7446, allocations: 3.103 MB / 1.123 GB, free: 14.54 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002297/0.7469, allocations: 1.958 MB / 1.125 GB, free: 12.59 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 7.578e-05/0.747, allocations: 26 kB / 1.125 GB, free: 12.57 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.7471, allocations: 48.56 kB / 1.125 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=179): time 5.119e-06/0.7471, allocations: 0 / 1.125 GB, free: 12.51 MB / 0.8887 GB Notification: Performance of matching and sorting (n=182): time 0.02182/0.7689, allocations: 10.05 MB / 1.135 GB, free: 2.363 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.769, allocations: 73.41 kB / 1.135 GB, free: 2.281 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.7708, allocations: 1.522 MB / 1.137 GB, free: 0.7148 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0001045/0.7709, allocations: 57.7 kB / 1.137 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.7721, allocations: 2.253 MB / 1.139 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004538/0.7726, allocations: 0.6277 MB / 1.139 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.7728, allocations: 182.1 kB / 1.14 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/0.7729, allocations: 305.1 kB / 1.14 GB, free: 13.25 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001499/0.7744, allocations: 1.179 MB / 1.141 GB, free: 12.06 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00192/0.7763, allocations: 1.885 MB / 1.143 GB, free: 9.855 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003686/0.78, allocations: 3.364 MB / 1.146 GB, free: 6.18 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.78, allocations: 4 kB / 1.146 GB, free: 6.176 MB / 0.9044 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.006759/0.7868, allocations: 4.581 MB / 1.151 GB, free: 1.57 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.435e-05/0.7868, allocations: 16 kB / 1.151 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.413e-05/0.7869, allocations: 24 kB / 1.151 GB, free: 1.531 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003407/0.7903, allocations: 1.58 MB / 1.152 GB, free: 15.94 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.7913, allocations: 355.3 kB / 1.153 GB, free: 15.59 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01923/0.8106, allocations: 17.06 MB / 1.169 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.8119, allocations: 123.9 kB / 1.169 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001473/0.812, allocations: 96 kB / 1.169 GB, free: 13.78 MB / 0.9356 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 (177): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(12,26,30.6%), (6,24,66.7%), (6,16,66.7%), (6,16,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002658/0.8147, allocations: 1.896 MB / 1.171 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003343/0.815, allocations: 221.4 kB / 1.172 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006407/0.8215, allocations: 4.094 MB / 1.176 GB, free: 7.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.268e-05/0.8215, allocations: 20 kB / 1.176 GB, free: 7.516 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.797e-05/0.8215, allocations: 20 kB / 1.176 GB, free: 7.496 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.334e-05/0.8215, allocations: 11.95 kB / 1.176 GB, free: 7.484 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01325/0.8348, allocations: 9.47 MB / 1.185 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.296e-06/0.8348, allocations: 4.562 kB / 1.185 GB, free: 13.75 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007422/0.8356, allocations: 179.7 kB / 1.185 GB, free: 13.58 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003143/0.8387, allocations: 1.361 MB / 1.186 GB, free: 12.21 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001059/0.8388, allocations: 36 kB / 1.186 GB, free: 12.17 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01794/0.8568, allocations: 15.98 MB / 1.202 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.8568, allocations: 4 kB / 1.202 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005934/0.8627, allocations: 4.069 MB / 1.206 GB, free: 7.512 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/0.8636, allocations: 0.5295 MB / 1.206 GB, free: 6.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002958/0.8639, allocations: 39.98 kB / 1.207 GB, free: 6.922 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009355/0.8648, allocations: 95.77 kB / 1.207 GB, free: 6.828 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003257/0.8652, allocations: 161.7 kB / 1.207 GB, free: 6.668 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.717e-05/0.8653, allocations: 48 kB / 1.207 GB, free: 6.621 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.00124/0.8665, allocations: 1.001 MB / 1.208 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8665, allocations: 0 / 1.208 GB, free: 5.598 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.002554/0.8691, allocations: 0.9844 MB / 1.209 GB, free: 4.613 MB / 0.9669 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 (85): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(6,16,66.7%), (6,16,66.7%), (6,24,66.7%), (6,24,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006145/0.8752, allocations: 4.667 MB / 1.213 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.006037/0.8813, allocations: 4.304 MB / 1.218 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.8813, allocations: 4.312 kB / 1.218 GB, free: 11.49 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.003684/0.885, allocations: 2.673 MB / 1.22 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003766/0.8888, allocations: 0.7228 MB / 1.221 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04789/0.9367, allocations: 30.91 MB / 1.251 GB, free: 7.133 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004543/0.9412, allocations: 3.576 MB / 1.255 GB, free: 3.52 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 0.001326/0.9426, allocations: 459.9 kB / 1.255 GB, free: 3.066 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00195/0.9445, allocations: 1.784 MB / 1.257 GB, free: 1.281 MB / 1.014 GB Notification: Performance of SimCode: time 8.01e-07/0.9446, allocations: 0 / 1.257 GB, free: 1.281 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.224/5.168, allocations: 69.88 MB / 1.325 GB, free: 232.7 MB / 1.014 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001533/5.169, allocations: 251.8 kB / 1.325 GB, free: 232.5 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.761/8.929, allocations: 0 / 1.325 GB, free: 232.5 MB / 1.014 GB (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches