Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_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.00601/0.00601, allocations: 97.62 kB / 15.73 MB, free: 6.004 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.001165/0.001165, allocations: 195 kB / 16.67 MB, free: 5.934 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.288/1.288, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.622/2.622, allocations: 469.4 MB / 0.7422 GB, free: 7.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001336/0.001336, allocations: 68.11 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3175, allocations: 159.1 MB / 1.22 GB, free: 14.66 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N): time 0.02179/0.3393, allocations: 20.25 MB / 1.24 GB, free: 10.34 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01132/0.3507, allocations: 6.46 MB / 1.246 GB, free: 3.867 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002135/0.3529, allocations: 87.56 kB / 1.246 GB, free: 3.781 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0056/0.3586, allocations: 2.238 MB / 1.248 GB, free: 1.539 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.00339/0.362, allocations: 1.248 MB / 1.249 GB, free: 292 kB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.6151/0.977, allocations: 1.271 MB / 1.251 GB, free: 9.113 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.006424/0.9835, allocations: 4.854 MB / 1.255 GB, free: 9.109 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006254/0.9898, allocations: 5.592 MB / 1.261 GB, free: 8.199 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004503/0.9943, allocations: 2.119 MB / 1.263 GB, free: 8.051 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004823/0.9992, allocations: 2.345 MB / 1.265 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.00177/1.001, allocations: 429.3 kB / 1.266 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003803/1.005, allocations: 0.999 MB / 1.267 GB, free: 7.777 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.003173/1.008, allocations: 1.671 MB / 1.268 GB, free: 7.66 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004803/1.013, allocations: 1.914 MB / 1.27 GB, free: 7.195 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01356/1.026, allocations: 6.527 MB / 1.276 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.678e-06/1.026, allocations: 0 / 1.276 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.596e-06/1.026, allocations: 1.094 kB / 1.276 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0002558/1.027, allocations: 0 / 1.276 GB, free: 6.559 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.011/1.038, allocations: 3.55 MB / 1.28 GB, free: 5.047 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/1.038, allocations: 13.84 kB / 1.28 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001034/1.039, allocations: 455.6 kB / 1.28 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004047/1.043, allocations: 0.649 MB / 1.281 GB, free: 4.602 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005261/1.048, allocations: 2.058 MB / 1.283 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001888/1.048, allocations: 217.7 kB / 1.283 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008627/1.049, allocations: 295.8 kB / 1.283 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01201/1.061, allocations: 4.892 MB / 1.288 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001799/1.061, allocations: 12.5 kB / 1.288 GB, free: 1.398 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001004/1.063, allocations: 128.1 kB / 1.288 GB, free: 1.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005988/1.063, allocations: 230.8 kB / 1.289 GB, free: 1.281 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009475/1.073, allocations: 3.752 MB / 1.292 GB, free: 28 kB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03583/1.108, allocations: 21.44 MB / 1.313 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002332/1.111, allocations: 1.311 MB / 1.314 GB, free: 14.25 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001803/1.113, allocations: 1.056 MB / 1.315 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 9.622e-05/1.113, allocations: 11.5 kB / 1.315 GB, free: 13.85 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/1.113, allocations: 46 kB / 1.316 GB, free: 13.8 MB / 1.029 GB Notification: Performance of pre-optimization done (n=107): time 5.23e-06/1.113, allocations: 8.547 kB / 1.316 GB, free: 13.8 MB / 1.029 GB Notification: Performance of matching and sorting (n=138): time 0.02609/1.139, allocations: 8.694 MB / 1.324 GB, free: 10.6 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/1.139, allocations: 65.91 kB / 1.324 GB, free: 10.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002332/1.141, allocations: 1.129 MB / 1.325 GB, free: 9.918 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001973/1.142, allocations: 47.33 kB / 1.325 GB, free: 9.871 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.00104/1.143, allocations: 1.341 MB / 1.327 GB, free: 8.695 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005865/1.143, allocations: 0.4918 MB / 1.327 GB, free: 8.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006182/1.144, allocations: 291.8 kB / 1.327 GB, free: 8.105 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001171/1.144, allocations: 305.1 kB / 1.328 GB, free: 7.805 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001469/1.146, allocations: 0.9151 MB / 1.328 GB, free: 7.324 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001798/1.147, allocations: 1.328 MB / 1.33 GB, free: 6.324 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003919/1.151, allocations: 2.422 MB / 1.332 GB, free: 4.777 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.571e-05/1.151, allocations: 7.469 kB / 1.332 GB, free: 4.773 MB / 1.029 GB Notification: Performance of matching and sorting (n=203) (initialization): time 0.007178/1.158, allocations: 3.468 MB / 1.336 GB, free: 2.922 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 3.405e-05/1.159, allocations: 10.59 kB / 1.336 GB, free: 2.922 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.522e-05/1.159, allocations: 13.22 kB / 1.336 GB, free: 2.922 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003395/1.162, allocations: 1.188 MB / 1.337 GB, free: 2.371 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001055/1.163, allocations: 262.8 kB / 1.337 GB, free: 2.301 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01767/1.181, allocations: 13.86 MB / 1.351 GB, free: 8.191 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/1.183, allocations: 87.59 kB / 1.351 GB, free: 8.145 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/1.183, allocations: 62 kB / 1.351 GB, free: 8.133 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 (132): * Single equations (assignments): 129 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,17,92.0%), (5,25,88.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.003334/1.186, allocations: 1.122 MB / 1.352 GB, free: 7.418 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009636/1.187, allocations: 165.8 kB / 1.352 GB, free: 7.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006905/1.194, allocations: 3.17 MB / 1.355 GB, free: 5.484 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/1.194, allocations: 17.75 kB / 1.355 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.359e-05/1.194, allocations: 12.03 kB / 1.355 GB, free: 5.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.24e-05/1.194, allocations: 15.84 kB / 1.355 GB, free: 5.465 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01345/1.208, allocations: 6.24 MB / 1.361 GB, free: 15.22 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-05/1.208, allocations: 8 kB / 1.361 GB, free: 15.21 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006133/1.208, allocations: 151.8 kB / 1.361 GB, free: 15.06 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00282/1.211, allocations: 1.08 MB / 1.362 GB, free: 13.98 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001079/1.211, allocations: 24 kB / 1.362 GB, free: 13.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01767/1.229, allocations: 13.53 MB / 1.376 GB, free: 8 kB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.386e-05/1.229, allocations: 11.98 kB / 1.376 GB, free: 15.99 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005794/1.235, allocations: 3.161 MB / 1.379 GB, free: 12.75 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00131/1.236, allocations: 432.3 kB / 1.379 GB, free: 12.3 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005627/1.237, allocations: 35.92 kB / 1.379 GB, free: 12.27 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00125/1.238, allocations: 83.91 kB / 1.379 GB, free: 12.19 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003945/1.239, allocations: 124.7 kB / 1.379 GB, free: 12.07 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001144/1.239, allocations: 43.94 kB / 1.379 GB, free: 12.02 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.001356/1.24, allocations: 0.7671 MB / 1.38 GB, free: 11.25 MB / 1.076 GB Notification: Performance of sort global known variables: time 2e-07/1.24, allocations: 0 / 1.38 GB, free: 11.25 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.002714/1.243, allocations: 0.6602 MB / 1.381 GB, free: 10.59 MB / 1.076 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 (70): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(5,17,84.0%), (5,25,88.0%), (5,17,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005663/1.248, allocations: 3.754 MB / 1.384 GB, free: 6.75 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.005057/1.254, allocations: 3.136 MB / 1.388 GB, free: 3.59 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 1.676e-05/1.254, allocations: 4.75 kB / 1.388 GB, free: 3.586 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.003161/1.257, allocations: 1.958 MB / 1.389 GB, free: 1.594 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003106/1.26, allocations: 0.4995 MB / 1.39 GB, free: 1.109 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03445/1.294, allocations: 19.2 MB / 1.409 GB, free: 13.36 MB / 1.107 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003873/1.298, allocations: 2.343 MB / 1.411 GB, free: 10.98 MB / 1.107 GB Notification: Performance of simCode: alias equations: time 0.001214/1.3, allocations: 354.1 kB / 1.411 GB, free: 10.63 MB / 1.107 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001492/1.301, allocations: 1.007 MB / 1.412 GB, free: 9.625 MB / 1.107 GB Notification: Performance of SimCode: time 1.583e-06/1.301, allocations: 0 / 1.412 GB, free: 9.625 MB / 1.107 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08987/1.391, allocations: 52.31 MB / 1.463 GB, free: 6.035 MB / 1.154 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.71/13.1, allocations: 10.92 kB / 1.463 GB, free: 6.027 MB / 1.154 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_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_RL_N.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches