Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_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.007986/0.007986, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.00209/0.00209, allocations: 198.6 kB / 16.68 MB, free: 5.969 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.497/1.497, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.825/2.825, allocations: 482.4 MB / 0.7548 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00188/0.00188, allocations: 63.89 kB / 1.083 GB, free: 12.56 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2876/0.2894, allocations: 162.2 MB / 1.241 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N): time 0.01214/0.3016, allocations: 10.09 MB / 1.251 GB, free: 84 kB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.5158/0.8174, allocations: 3.162 MB / 1.254 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000617/0.8181, allocations: 38.31 kB / 1.254 GB, free: 9.379 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001422/0.8195, allocations: 0.5996 MB / 1.255 GB, free: 9.277 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.001401/0.8209, allocations: 0.7365 MB / 1.256 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001658/0.8226, allocations: 0.7366 MB / 1.256 GB, free: 8.996 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.003117/0.8257, allocations: 3.002 MB / 1.259 GB, free: 7.914 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002708/0.8285, allocations: 2.591 MB / 1.262 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001669/0.8301, allocations: 1.258 MB / 1.263 GB, free: 6.508 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001749/0.8319, allocations: 1.55 MB / 1.265 GB, free: 6.012 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003134/0.8322, allocations: 239.8 kB / 1.265 GB, free: 6.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009702/0.8332, allocations: 0.5049 MB / 1.265 GB, free: 5.938 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0009536/0.8342, allocations: 1.071 MB / 1.266 GB, free: 5.566 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009957/0.8352, allocations: 1.111 MB / 1.268 GB, free: 4.883 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.003567/0.8387, allocations: 3.698 MB / 1.271 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.8388, allocations: 2.094 kB / 1.271 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.453e-06/0.8388, allocations: 0 / 1.271 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.028e-05/0.8388, allocations: 0 / 1.271 GB, free: 3.805 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 439 * Number of variables: 439 Notification: Performance of Generate backend data structure: time 0.003739/0.8426, allocations: 2.19 MB / 1.273 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.8426, allocations: 9.094 kB / 1.273 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003367/0.843, allocations: 259.4 kB / 1.274 GB, free: 2.352 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008946/0.8519, allocations: 1.326 MB / 1.275 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00194/0.8539, allocations: 1.307 MB / 1.276 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.148e-05/0.854, allocations: 114.7 kB / 1.276 GB, free: 1.438 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002974/0.8543, allocations: 148.1 kB / 1.276 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004805/0.8591, allocations: 3.442 MB / 1.28 GB, free: 120 kB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.738e-05/0.8591, allocations: 5.688 kB / 1.28 GB, free: 116 kB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002171/0.8593, allocations: 64.23 kB / 1.28 GB, free: 76 kB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002444/0.8596, allocations: 213.1 kB / 1.28 GB, free: 40 kB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00571/0.8653, allocations: 3.217 MB / 1.283 GB, free: 15.41 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01812/0.8834, allocations: 13.56 MB / 1.296 GB, free: 6.348 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00257/0.886, allocations: 1.734 MB / 1.298 GB, free: 5.734 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002071/0.8881, allocations: 1.449 MB / 1.299 GB, free: 5.234 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001066/0.8883, allocations: 14.95 kB / 1.299 GB, free: 5.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.8883, allocations: 39.52 kB / 1.3 GB, free: 5.188 MB / 1.014 GB Notification: Performance of pre-optimization done (n=104): time 2.795e-06/0.8883, allocations: 1.125 kB / 1.3 GB, free: 5.188 MB / 1.014 GB Notification: Performance of matching and sorting (n=183): time 0.1545/1.043, allocations: 36.72 MB / 1.335 GB, free: 7.555 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.132e-05/1.043, allocations: 77.34 kB / 1.335 GB, free: 7.465 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001892/1.045, allocations: 1.05 MB / 1.336 GB, free: 6.391 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0004129/1.045, allocations: 53.7 kB / 1.337 GB, free: 6.332 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007115/1.046, allocations: 0.8132 MB / 1.337 GB, free: 5.508 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009881/1.047, allocations: 0.6506 MB / 1.338 GB, free: 4.852 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001064/1.048, allocations: 375.5 kB / 1.338 GB, free: 4.48 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001374/1.048, allocations: 301.1 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003073/1.051, allocations: 1.928 MB / 1.341 GB, free: 2.254 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003403/1.055, allocations: 2.281 MB / 1.343 GB, free: 15.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006718/1.061, allocations: 4.391 MB / 1.347 GB, free: 11.32 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.203e-05/1.061, allocations: 4 kB / 1.347 GB, free: 11.32 MB / 1.045 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.0225/1.084, allocations: 9.026 MB / 1.356 GB, free: 2.266 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 3.863e-05/1.084, allocations: 9.406 kB / 1.356 GB, free: 2.258 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.287e-05/1.084, allocations: 16.03 kB / 1.356 GB, free: 2.242 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01846/1.102, allocations: 4.977 MB / 1.361 GB, free: 13.25 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000946/1.103, allocations: 191.7 kB / 1.361 GB, free: 13.06 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.06532/1.169, allocations: 38.92 MB / 1.399 GB, free: 5.562 MB / 1.092 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00231/1.171, allocations: 103.9 kB / 1.399 GB, free: 5.461 MB / 1.092 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004981/1.172, allocations: 67.98 kB / 1.399 GB, free: 5.395 MB / 1.092 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * 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 (105): * Single equations (assignments): 101 * 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 {(8,16,100.0%), (8,16,100.0%), (8,38,100.0%), (8,38,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001869/1.174, allocations: 0.8133 MB / 1.4 GB, free: 4.57 MB / 1.092 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005196/1.174, allocations: 147.1 kB / 1.4 GB, free: 4.426 MB / 1.092 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02216/1.196, allocations: 8.882 MB / 1.409 GB, free: 11.51 MB / 1.107 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-05/1.196, allocations: 24 kB / 1.409 GB, free: 11.48 MB / 1.107 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.177e-05/1.196, allocations: 32 kB / 1.409 GB, free: 11.45 MB / 1.107 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.4e-05/1.196, allocations: 11.95 kB / 1.409 GB, free: 11.44 MB / 1.107 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03035/1.227, allocations: 13.41 MB / 1.422 GB, free: 13.88 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.32e-05/1.227, allocations: 4 kB / 1.422 GB, free: 13.87 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005517/1.227, allocations: 123.8 kB / 1.422 GB, free: 13.75 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01821/1.246, allocations: 4.837 MB / 1.427 GB, free: 8.898 MB / 1.123 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004374/1.246, allocations: 36 kB / 1.427 GB, free: 8.863 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.06257/1.309, allocations: 36.84 MB / 1.463 GB, free: 3.434 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.346e-06/1.309, allocations: 15.88 kB / 1.463 GB, free: 3.418 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0219/1.331, allocations: 8.61 MB / 1.471 GB, free: 10.72 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001497/1.332, allocations: 0.6405 MB / 1.472 GB, free: 10.06 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005396/1.333, allocations: 35.95 kB / 1.472 GB, free: 10.03 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.334, allocations: 95.88 kB / 1.472 GB, free: 9.934 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008516/1.335, allocations: 161.7 kB / 1.472 GB, free: 9.777 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/1.335, allocations: 44 kB / 1.472 GB, free: 9.734 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.001254/1.337, allocations: 0.7382 MB / 1.473 GB, free: 8.984 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.4e-07/1.337, allocations: 0 / 1.473 GB, free: 8.984 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003516/1.34, allocations: 1.008 MB / 1.474 GB, free: 7.977 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (66): * Single equations (assignments): 62 * 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 {(8,16,100.0%), (8,38,100.0%), (8,8,100.0%), (15,23,74.2%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.02145/1.362, allocations: 9.187 MB / 1.483 GB, free: 14.69 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.01157/1.373, allocations: 5.959 MB / 1.489 GB, free: 8.68 MB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/1.373, allocations: 0 / 1.489 GB, free: 8.68 MB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.008996/1.382, allocations: 3.94 MB / 1.492 GB, free: 4.691 MB / 1.186 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/1.385, allocations: 235.6 kB / 1.493 GB, free: 4.465 MB / 1.186 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06705/1.452, allocations: 31.08 MB / 1.523 GB, free: 4.852 MB / 1.217 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002408/1.454, allocations: 1.859 MB / 1.525 GB, free: 2.953 MB / 1.217 GB Notification: Performance of simCode: alias equations: time 0.0009361/1.455, allocations: 359.4 kB / 1.525 GB, free: 2.598 MB / 1.217 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009222/1.456, allocations: 0.6086 MB / 1.526 GB, free: 1.988 MB / 1.217 GB Notification: Performance of SimCode: time 5.11e-07/1.456, allocations: 4 kB / 1.526 GB, free: 1.984 MB / 1.217 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1366/1.593, allocations: 76.16 MB / 1.6 GB, free: 6.176 MB / 1.295 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.17/13.77, allocations: 5.344 kB / 1.6 GB, free: 6.176 MB / 1.295 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLineMatrix_RLC_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLineMatrix_RLC_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches