Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.007822/0.007822, allocations: 99.31 kB / 15.73 MB, free: 6.051 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.001717/0.001718, allocations: 188.9 kB / 16.67 MB, free: 5.977 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.315/1.315, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.603/2.603, allocations: 461.9 MB / 0.7348 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 60.12 kB / 1.054 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2861, allocations: 157.4 MB / 1.207 GB, free: 10.16 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N): time 0.03679/0.3229, allocations: 34.84 MB / 1.241 GB, free: 7.199 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6431/0.966, allocations: 11.49 MB / 1.253 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003975/0.9701, allocations: 157.5 kB / 1.253 GB, free: 11.62 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.009637/0.9798, allocations: 4.257 MB / 1.257 GB, free: 11.54 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.005952/0.9857, allocations: 1.989 MB / 1.259 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006716/0.9925, allocations: 2.403 MB / 1.261 GB, free: 11.17 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01286/1.005, allocations: 8.459 MB / 1.269 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.02032/1.026, allocations: 11.12 MB / 1.28 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007898/1.034, allocations: 3.795 MB / 1.284 GB, free: 7.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007916/1.042, allocations: 4.188 MB / 1.288 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003163/1.045, allocations: 0.7795 MB / 1.289 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006833/1.052, allocations: 2.027 MB / 1.291 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006856/1.059, allocations: 3.06 MB / 1.294 GB, free: 4.449 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01069/1.069, allocations: 3.397 MB / 1.297 GB, free: 2.25 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.02247/1.092, allocations: 11.99 MB / 1.309 GB, free: 14.62 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/1.092, allocations: 1.344 kB / 1.309 GB, free: 14.62 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.843e-06/1.092, allocations: 0 / 1.309 GB, free: 14.62 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004658/1.092, allocations: 0 / 1.309 GB, free: 14.62 MB / 1.014 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.02534/1.118, allocations: 5.798 MB / 1.314 GB, free: 10.84 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.91e-05/1.118, allocations: 13.84 kB / 1.314 GB, free: 10.84 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003612/1.121, allocations: 0.8046 MB / 1.315 GB, free: 10.28 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00835/1.13, allocations: 1.06 MB / 1.316 GB, free: 9.762 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009397/1.139, allocations: 3.451 MB / 1.32 GB, free: 7.586 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005395/1.14, allocations: 416.6 kB / 1.32 GB, free: 7.406 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002857/1.143, allocations: 0.5414 MB / 1.321 GB, free: 7.227 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02624/1.169, allocations: 9.076 MB / 1.329 GB, free: 1.684 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003589/1.169, allocations: 29.92 kB / 1.329 GB, free: 1.664 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002236/1.172, allocations: 238.4 kB / 1.33 GB, free: 1.496 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005172/1.172, allocations: 353.7 kB / 1.33 GB, free: 1.418 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01536/1.187, allocations: 6.82 MB / 1.337 GB, free: 13.92 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04967/1.237, allocations: 39.79 MB / 1.376 GB, free: 5.066 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003804/1.241, allocations: 3.109 MB / 1.379 GB, free: 1.816 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002643/1.244, allocations: 1.989 MB / 1.381 GB, free: 15.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001134/1.244, allocations: 20.97 kB / 1.381 GB, free: 15.82 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/1.244, allocations: 52.56 kB / 1.381 GB, free: 15.76 MB / 1.076 GB Notification: Performance of pre-optimization done (n=179): time 3.747e-06/1.244, allocations: 0 / 1.381 GB, free: 15.76 MB / 1.076 GB Notification: Performance of matching and sorting (n=182): time 0.02339/1.267, allocations: 9.977 MB / 1.39 GB, free: 5.691 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/1.267, allocations: 73.41 kB / 1.39 GB, free: 5.609 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002067/1.269, allocations: 1.522 MB / 1.392 GB, free: 4.043 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 0.0002208/1.27, allocations: 53.7 kB / 1.392 GB, free: 3.984 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.001409/1.271, allocations: 2.255 MB / 1.394 GB, free: 1.707 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006949/1.272, allocations: 0.6328 MB / 1.395 GB, free: 1.078 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007172/1.272, allocations: 403.9 kB / 1.395 GB, free: 0.6758 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.273, allocations: 309.1 kB / 1.395 GB, free: 380 kB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001653/1.274, allocations: 1.18 MB / 1.397 GB, free: 15.19 MB / 1.092 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002104/1.276, allocations: 1.888 MB / 1.398 GB, free: 12.98 MB / 1.092 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003953/1.28, allocations: 3.376 MB / 1.402 GB, free: 9.309 MB / 1.092 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-05/1.28, allocations: 8 kB / 1.402 GB, free: 9.301 MB / 1.092 GB Notification: Performance of matching and sorting (n=285) (initialization): time 0.00757/1.288, allocations: 4.576 MB / 1.406 GB, free: 4.699 MB / 1.092 GB Notification: Performance of prepare postOptimizeDAE: time 3.284e-05/1.288, allocations: 12.94 kB / 1.406 GB, free: 4.688 MB / 1.092 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.242e-05/1.288, allocations: 24 kB / 1.406 GB, free: 4.664 MB / 1.092 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003608/1.292, allocations: 1.584 MB / 1.408 GB, free: 3.074 MB / 1.092 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001191/1.293, allocations: 355.4 kB / 1.408 GB, free: 2.727 MB / 1.092 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02277/1.316, allocations: 18.58 MB / 1.426 GB, free: 15.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001894/1.318, allocations: 115.9 kB / 1.426 GB, free: 15.5 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003662/1.318, allocations: 96 kB / 1.427 GB, free: 15.4 MB / 1.123 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.003694/1.322, allocations: 1.894 MB / 1.428 GB, free: 13.5 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006209/1.322, allocations: 221.4 kB / 1.429 GB, free: 13.28 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00713/1.329, allocations: 4.094 MB / 1.433 GB, free: 9.152 MB / 1.123 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.656e-05/1.329, allocations: 16 kB / 1.433 GB, free: 9.137 MB / 1.123 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.523e-05/1.329, allocations: 20 kB / 1.433 GB, free: 9.117 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.211e-05/1.33, allocations: 15.95 kB / 1.433 GB, free: 9.102 MB / 1.123 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01719/1.347, allocations: 9.46 MB / 1.442 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.347, allocations: 4 kB / 1.442 GB, free: 15.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007944/1.348, allocations: 187.7 kB / 1.442 GB, free: 15.24 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003265/1.351, allocations: 1.355 MB / 1.443 GB, free: 13.88 MB / 1.139 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001495/1.351, allocations: 36 kB / 1.443 GB, free: 13.84 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02101/1.372, allocations: 17.35 MB / 1.46 GB, free: 11.94 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.674e-06/1.372, allocations: 11.94 kB / 1.46 GB, free: 11.93 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00737/1.379, allocations: 4.066 MB / 1.464 GB, free: 7.766 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/1.381, allocations: 0.5295 MB / 1.465 GB, free: 7.215 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005996/1.381, allocations: 39.91 kB / 1.465 GB, free: 7.176 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001217/1.383, allocations: 91.83 kB / 1.465 GB, free: 7.086 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004571/1.383, allocations: 157.7 kB / 1.465 GB, free: 6.934 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000118/1.383, allocations: 48 kB / 1.465 GB, free: 6.887 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.001594/1.385, allocations: 1.008 MB / 1.466 GB, free: 5.855 MB / 1.154 GB Notification: Performance of sort global known variables: time 3.2e-07/1.385, allocations: 0 / 1.466 GB, free: 5.855 MB / 1.154 GB Notification: Performance of remove unused functions: time 0.003689/1.388, allocations: 0.9883 MB / 1.467 GB, free: 4.867 MB / 1.154 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.007021/1.396, allocations: 4.665 MB / 1.472 GB, free: 108 kB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.006651/1.402, allocations: 4.309 MB / 1.476 GB, free: 11.75 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/1.402, allocations: 3.938 kB / 1.476 GB, free: 11.74 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.004068/1.406, allocations: 2.662 MB / 1.478 GB, free: 9.031 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003826/1.41, allocations: 0.7823 MB / 1.479 GB, free: 8.281 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0466/1.457, allocations: 26.82 MB / 1.505 GB, free: 12.41 MB / 1.201 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005608/1.462, allocations: 3.573 MB / 1.509 GB, free: 8.801 MB / 1.201 GB Notification: Performance of simCode: alias equations: time 0.001445/1.464, allocations: 471.9 kB / 1.509 GB, free: 8.336 MB / 1.201 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002151/1.466, allocations: 1.792 MB / 1.511 GB, free: 6.543 MB / 1.201 GB Notification: Performance of SimCode: time 1.233e-06/1.466, allocations: 0 / 1.511 GB, free: 6.543 MB / 1.201 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1246/1.591, allocations: 74.57 MB / 1.584 GB, free: 12.72 MB / 1.279 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/14.46, allocations: 10.11 kB / 1.584 GB, free: 12.71 MB / 1.279 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_L_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_L_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches