Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.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.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_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.008198/0.008198, allocations: 99.52 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.001925/0.001925, allocations: 200.8 kB / 16.68 MB, free: 5.965 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.74/2.74, allocations: 469.4 MB / 0.7422 GB, free: 7.613 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 59.91 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.3203, allocations: 159.1 MB / 1.22 GB, free: 14.67 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N): time 0.6672/0.9876, allocations: 37.95 MB / 1.257 GB, free: 13.06 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01639/1.004, allocations: 10.99 MB / 1.268 GB, free: 12.58 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004749/1.009, allocations: 158.3 kB / 1.268 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01085/1.02, allocations: 4.368 MB / 1.272 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007068/1.027, allocations: 2.328 MB / 1.274 GB, free: 9.305 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007231/1.034, allocations: 2.169 MB / 1.276 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01368/1.048, allocations: 9.303 MB / 1.285 GB, free: 3.855 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01794/1.066, allocations: 11.27 MB / 1.296 GB, free: 15.32 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009286/1.075, allocations: 4.052 MB / 1.3 GB, free: 13.46 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008593/1.084, allocations: 4.508 MB / 1.305 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.002648/1.086, allocations: 0.8229 MB / 1.306 GB, free: 11.52 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005257/1.092, allocations: 1.585 MB / 1.307 GB, free: 11.22 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.005559/1.097, allocations: 3.149 MB / 1.31 GB, free: 9.898 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.009491/1.107, allocations: 3.658 MB / 1.314 GB, free: 7.555 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01853/1.125, allocations: 12.34 MB / 1.326 GB, free: 1.762 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.125, allocations: 1.031 kB / 1.326 GB, free: 1.762 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.694e-06/1.125, allocations: 0 / 1.326 GB, free: 1.762 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0003611/1.126, allocations: 0 / 1.326 GB, free: 1.762 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: 1524 * Number of variables: 1524 Notification: Performance of Generate backend data structure: time 0.01969/1.145, allocations: 6.476 MB / 1.332 GB, free: 13.47 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/1.145, allocations: 9.25 kB / 1.332 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002456/1.148, allocations: 0.8293 MB / 1.333 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006504/1.154, allocations: 1.101 MB / 1.334 GB, free: 12.34 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01015/1.165, allocations: 3.622 MB / 1.338 GB, free: 10.02 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004066/1.165, allocations: 423.7 kB / 1.338 GB, free: 9.824 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002468/1.168, allocations: 0.5452 MB / 1.339 GB, free: 9.637 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02161/1.189, allocations: 9.372 MB / 1.348 GB, free: 3.898 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001853/1.189, allocations: 24.09 kB / 1.348 GB, free: 3.883 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001599/1.191, allocations: 249.7 kB / 1.348 GB, free: 3.695 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006026/1.192, allocations: 423.4 kB / 1.348 GB, free: 3.594 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01386/1.205, allocations: 7.123 MB / 1.355 GB, free: 13.75 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04599/1.252, allocations: 41.08 MB / 1.395 GB, free: 0.9297 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/1.256, allocations: 3.099 MB / 1.398 GB, free: 13.82 MB / 1.092 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002603/1.258, allocations: 2.15 MB / 1.401 GB, free: 11.67 MB / 1.092 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001001/1.258, allocations: 26 kB / 1.401 GB, free: 11.64 MB / 1.092 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.828e-05/1.258, allocations: 60.56 kB / 1.401 GB, free: 11.58 MB / 1.092 GB Notification: Performance of pre-optimization done (n=209): time 4.208e-06/1.258, allocations: 4 kB / 1.401 GB, free: 11.57 MB / 1.092 GB Notification: Performance of matching and sorting (n=212): time 0.0228/1.281, allocations: 10.63 MB / 1.411 GB, free: 0.8516 MB / 1.092 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.281, allocations: 73.41 kB / 1.411 GB, free: 0.7656 MB / 1.092 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002555/1.284, allocations: 2.006 MB / 1.413 GB, free: 14.74 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002086/1.284, allocations: 65.7 kB / 1.413 GB, free: 14.67 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.001393/1.286, allocations: 2.47 MB / 1.416 GB, free: 12.18 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007268/1.286, allocations: 0.7708 MB / 1.416 GB, free: 11.4 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007391/1.287, allocations: 481.5 kB / 1.417 GB, free: 10.92 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 8.457e-05/1.287, allocations: 309.1 kB / 1.417 GB, free: 10.62 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001899/1.289, allocations: 1.372 MB / 1.418 GB, free: 9.242 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/1.291, allocations: 2.116 MB / 1.42 GB, free: 6.816 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004831/1.296, allocations: 3.762 MB / 1.424 GB, free: 2.746 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.192e-05/1.296, allocations: 8 kB / 1.424 GB, free: 2.738 MB / 1.107 GB Notification: Performance of matching and sorting (n=339) (initialization): time 0.008414/1.305, allocations: 5.073 MB / 1.429 GB, free: 13.64 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 3.833e-05/1.305, allocations: 16.97 kB / 1.429 GB, free: 13.62 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.039e-05/1.305, allocations: 27.94 kB / 1.429 GB, free: 13.6 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003514/1.308, allocations: 1.589 MB / 1.431 GB, free: 12 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00178/1.31, allocations: 455.2 kB / 1.431 GB, free: 11.55 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02133/1.332, allocations: 18.59 MB / 1.449 GB, free: 8.406 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002769/1.334, allocations: 147.8 kB / 1.449 GB, free: 8.262 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003181/1.335, allocations: 112 kB / 1.45 GB, free: 8.152 MB / 1.139 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 (231): * Single equations (assignments): 227 * 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 {(7,31,57.1%), (6,24,66.7%), (4,18,100.0%), (4,18,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003789/1.338, allocations: 1.941 MB / 1.451 GB, free: 6.199 MB / 1.139 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006754/1.339, allocations: 306.2 kB / 1.452 GB, free: 5.898 MB / 1.139 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006755/1.346, allocations: 4.451 MB / 1.456 GB, free: 1.414 MB / 1.139 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.69e-05/1.346, allocations: 20 kB / 1.456 GB, free: 1.395 MB / 1.139 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.997e-05/1.346, allocations: 20 kB / 1.456 GB, free: 1.375 MB / 1.139 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.546e-05/1.346, allocations: 7.969 kB / 1.456 GB, free: 1.367 MB / 1.139 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01543/1.361, allocations: 9.668 MB / 1.466 GB, free: 7.555 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.284e-05/1.361, allocations: 4 kB / 1.466 GB, free: 7.551 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/1.362, allocations: 239.6 kB / 1.466 GB, free: 7.316 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003205/1.366, allocations: 1.42 MB / 1.467 GB, free: 5.887 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001957/1.366, allocations: 40 kB / 1.467 GB, free: 5.848 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02103/1.387, allocations: 18.57 MB / 1.485 GB, free: 2.715 MB / 1.17 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.772e-06/1.387, allocations: 15.94 kB / 1.485 GB, free: 2.699 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007064/1.394, allocations: 4.557 MB / 1.49 GB, free: 14.05 MB / 1.186 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/1.396, allocations: 0.6513 MB / 1.49 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005109/1.397, allocations: 40 kB / 1.49 GB, free: 13.34 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001336/1.398, allocations: 119.8 kB / 1.491 GB, free: 13.22 MB / 1.186 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004803/1.398, allocations: 181.6 kB / 1.491 GB, free: 13.05 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001339/1.399, allocations: 60 kB / 1.491 GB, free: 12.99 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.001764/1.4, allocations: 1.311 MB / 1.492 GB, free: 11.67 MB / 1.186 GB Notification: Performance of sort global known variables: time 1.41e-07/1.4, allocations: 0 / 1.492 GB, free: 11.67 MB / 1.186 GB Notification: Performance of remove unused functions: time 0.003595/1.404, allocations: 1.145 MB / 1.493 GB, free: 10.52 MB / 1.186 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 (107): * Single equations (assignments): 103 * 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 {(4,18,100.0%), (6,24,66.7%), (4,18,100.0%), (6,32,66.7%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.006807/1.411, allocations: 5.173 MB / 1.498 GB, free: 5.254 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.007261/1.418, allocations: 4.735 MB / 1.503 GB, free: 484 kB / 1.186 GB Notification: Performance of simCode: created event and clocks part: time 1.201e-05/1.418, allocations: 4 kB / 1.503 GB, free: 480 kB / 1.186 GB Notification: Performance of simCode: created simulation system equations: time 0.004449/1.423, allocations: 2.937 MB / 1.506 GB, free: 13.48 MB / 1.201 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004195/1.427, allocations: 0.8898 MB / 1.507 GB, free: 12.61 MB / 1.201 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04598/1.473, allocations: 30.54 MB / 1.536 GB, free: 12.86 MB / 1.232 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004135/1.477, allocations: 3.702 MB / 1.54 GB, free: 9.125 MB / 1.232 GB Notification: Performance of simCode: alias equations: time 0.001858/1.479, allocations: 0.5517 MB / 1.541 GB, free: 8.566 MB / 1.232 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002182/1.481, allocations: 1.944 MB / 1.543 GB, free: 6.621 MB / 1.232 GB Notification: Performance of SimCode: time 7.51e-07/1.481, allocations: 0 / 1.543 GB, free: 6.621 MB / 1.232 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1464/1.627, allocations: 85.27 MB / 1.626 GB, free: 2.285 MB / 1.311 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.18/15.81, allocations: 10.75 kB / 1.626 GB, free: 2.281 MB / 1.311 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches