Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.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_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC",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.007386/0.007386, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001523/0.001523, allocations: 196.8 kB / 16.67 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.643/2.643, allocations: 461.9 MB / 0.7348 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002381/0.002381, allocations: 63.91 kB / 1.054 GB, free: 7.668 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3146/0.317, allocations: 157.4 MB / 1.207 GB, free: 10.17 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC): time 0.05126/0.3683, allocations: 37.6 MB / 1.244 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.6475/1.016, allocations: 13.02 MB / 1.257 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004474/1.02, allocations: 171.2 kB / 1.257 GB, free: 11.64 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.008993/1.029, allocations: 3.882 MB / 1.261 GB, free: 11.55 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007226/1.037, allocations: 2.488 MB / 1.263 GB, free: 10.9 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006942/1.044, allocations: 2.705 MB / 1.266 GB, free: 10.7 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01442/1.058, allocations: 9.577 MB / 1.275 GB, free: 9.461 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0151/1.073, allocations: 10.52 MB / 1.285 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008375/1.082, allocations: 4.07 MB / 1.289 GB, free: 4.59 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008858/1.091, allocations: 4.375 MB / 1.294 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.003407/1.094, allocations: 0.7698 MB / 1.294 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007592/1.102, allocations: 1.786 MB / 1.296 GB, free: 2.758 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.006649/1.108, allocations: 3.027 MB / 1.299 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.01182/1.12, allocations: 3.595 MB / 1.303 GB, free: 15.33 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.02403/1.144, allocations: 11.86 MB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.144, allocations: 0 / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.723e-06/1.144, allocations: 1.219 kB / 1.314 GB, free: 10.89 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0004709/1.145, allocations: 0 / 1.314 GB, free: 10.89 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: 1394 * Number of variables: 1394 Notification: Performance of Generate backend data structure: time 0.02515/1.17, allocations: 6.356 MB / 1.32 GB, free: 6.781 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.477e-05/1.17, allocations: 10.59 kB / 1.32 GB, free: 6.781 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003522/1.174, allocations: 0.7482 MB / 1.321 GB, free: 6.266 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01096/1.184, allocations: 1.306 MB / 1.322 GB, free: 5.648 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01169/1.196, allocations: 3.783 MB / 1.326 GB, free: 3.207 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005984/1.197, allocations: 381.7 kB / 1.326 GB, free: 3.047 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003516/1.2, allocations: 0.4966 MB / 1.327 GB, free: 2.887 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02859/1.229, allocations: 8.894 MB / 1.336 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003369/1.229, allocations: 26.33 kB / 1.336 GB, free: 13.41 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002715/1.232, allocations: 222.7 kB / 1.336 GB, free: 13.26 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002399/1.235, allocations: 0.6351 MB / 1.336 GB, free: 13.04 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01808/1.253, allocations: 7.012 MB / 1.343 GB, free: 9.426 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05954/1.312, allocations: 40.05 MB / 1.382 GB, free: 15.07 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004623/1.317, allocations: 2.898 MB / 1.385 GB, free: 12.16 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004074/1.321, allocations: 2.659 MB / 1.388 GB, free: 9.492 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003183/1.321, allocations: 30.09 kB / 1.388 GB, free: 9.461 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.507e-05/1.321, allocations: 72.59 kB / 1.388 GB, free: 9.379 MB / 1.076 GB Notification: Performance of pre-optimization done (n=265): time 4.809e-06/1.321, allocations: 0 / 1.388 GB, free: 9.379 MB / 1.076 GB Notification: Performance of matching and sorting (n=424): time 0.2661/1.588, allocations: 74.68 MB / 1.461 GB, free: 14.1 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/1.588, allocations: 94.73 kB / 1.461 GB, free: 13.99 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003285/1.591, allocations: 2.363 MB / 1.463 GB, free: 11.62 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0009257/1.592, allocations: 93.7 kB / 1.463 GB, free: 11.52 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001509/1.593, allocations: 2.34 MB / 1.466 GB, free: 9.164 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.00183/1.595, allocations: 1.435 MB / 1.467 GB, free: 7.738 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001349/1.597, allocations: 0.7215 MB / 1.468 GB, free: 7.004 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001001/1.597, allocations: 309.1 kB / 1.468 GB, free: 6.699 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004053/1.601, allocations: 2.999 MB / 1.471 GB, free: 3.691 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004839/1.606, allocations: 3.842 MB / 1.475 GB, free: 15.52 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009774/1.615, allocations: 7.382 MB / 1.482 GB, free: 7.82 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/1.615, allocations: 8 kB / 1.482 GB, free: 7.812 MB / 1.17 GB Notification: Performance of matching and sorting (n=551) (initialization): time 0.02813/1.644, allocations: 12.56 MB / 1.494 GB, free: 11.16 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 4.522e-05/1.644, allocations: 20 kB / 1.494 GB, free: 11.14 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.201e-05/1.644, allocations: 24 kB / 1.494 GB, free: 11.11 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02196/1.666, allocations: 6.023 MB / 1.5 GB, free: 5.031 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002254/1.668, allocations: 495.2 kB / 1.501 GB, free: 4.547 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08659/1.755, allocations: 72.99 MB / 1.572 GB, free: 8.242 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004309/1.759, allocations: 219.8 kB / 1.572 GB, free: 8.027 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001018/1.76, allocations: 152 kB / 1.572 GB, free: 7.879 MB / 1.264 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 (269): * Single equations (assignments): 245 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (2,2,100.0%), (1,1,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%), (2,8,100.0%), (2,16,100.0%), (3,15,100.0%), (2,8,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.005078/1.765, allocations: 1.994 MB / 1.574 GB, free: 5.875 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001495/1.767, allocations: 395.4 kB / 1.575 GB, free: 5.484 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02909/1.796, allocations: 12.22 MB / 1.587 GB, free: 9.152 MB / 1.279 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.912e-05/1.796, allocations: 43.98 kB / 1.587 GB, free: 9.109 MB / 1.279 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001599/1.796, allocations: 55.94 kB / 1.587 GB, free: 9.055 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.165e-05/1.796, allocations: 23.86 kB / 1.587 GB, free: 9.031 MB / 1.279 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04138/1.837, allocations: 19.14 MB / 1.605 GB, free: 5.688 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.039e-05/1.837, allocations: 4.469 kB / 1.605 GB, free: 5.684 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00159/1.839, allocations: 283.6 kB / 1.606 GB, free: 5.406 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01994/1.859, allocations: 5.579 MB / 1.611 GB, free: 15.77 MB / 1.311 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007794/1.86, allocations: 83.98 kB / 1.611 GB, free: 15.68 MB / 1.311 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07861/1.938, allocations: 70.61 MB / 1.68 GB, free: 5.773 MB / 1.373 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.556e-06/1.939, allocations: 8 kB / 1.68 GB, free: 5.766 MB / 1.373 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03212/1.971, allocations: 15.61 MB / 1.695 GB, free: 5.918 MB / 1.389 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003421/1.974, allocations: 1.047 MB / 1.696 GB, free: 4.848 MB / 1.389 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001723/1.976, allocations: 80 kB / 1.696 GB, free: 4.77 MB / 1.389 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00344/1.979, allocations: 215.7 kB / 1.697 GB, free: 4.559 MB / 1.389 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001933/1.981, allocations: 406.2 kB / 1.697 GB, free: 4.16 MB / 1.389 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0008439/1.982, allocations: 108 kB / 1.697 GB, free: 4.055 MB / 1.389 GB Notification: Performance of sorting global known variables: time 0.00341/1.986, allocations: 1.557 MB / 1.699 GB, free: 2.5 MB / 1.389 GB Notification: Performance of sort global known variables: time 2.51e-07/1.986, allocations: 3.938 kB / 1.699 GB, free: 2.496 MB / 1.389 GB Notification: Performance of remove unused functions: time 0.007914/1.994, allocations: 1.859 MB / 1.7 GB, free: 0.6367 MB / 1.389 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 6 (RLCLine_sc.phase1.Vc[1],RLCLine_sc.phase1.Vc[2],RLCLine_sc.phase2.Vc[1],RLCLine_sc.phase2.Vc[2],RLCLine_sc.phase3.Vc[1],RLCLine_sc.phase3.Vc[2]) * 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 (145): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 24 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 24 systems {(2,8,100.0%), (2,8,100.0%), (2,8,100.0%), (3,15,100.0%), (3,15,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (2,2,100.0%), (2,2,100.0%), (2,2,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (2,8,100.0%), (3,15,100.0%), (4,16,100.0%), (4,16,100.0%), (4,16,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.03249/2.026, allocations: 16.3 MB / 1.716 GB, free: 96 kB / 1.404 GB Notification: Performance of simCode: created initialization part: time 0.02301/2.049, allocations: 12.22 MB / 1.728 GB, free: 3.562 MB / 1.42 GB Notification: Performance of simCode: created event and clocks part: time 1.35e-05/2.049, allocations: 8 kB / 1.728 GB, free: 3.555 MB / 1.42 GB Notification: Performance of simCode: created simulation system equations: time 0.01581/2.065, allocations: 8.354 MB / 1.736 GB, free: 10.89 MB / 1.436 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007012/2.072, allocations: 1.187 MB / 1.738 GB, free: 9.734 MB / 1.436 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1101/2.182, allocations: 53.86 MB / 1.79 GB, free: 2.359 MB / 1.482 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007393/2.19, allocations: 4.087 MB / 1.794 GB, free: 14.23 MB / 1.498 GB Notification: Performance of simCode: alias equations: time 0.002811/2.192, allocations: 0.663 MB / 1.795 GB, free: 13.57 MB / 1.498 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003146/2.196, allocations: 2.132 MB / 1.797 GB, free: 11.43 MB / 1.498 GB Notification: Performance of SimCode: time 1.323e-06/2.196, allocations: 0 / 1.797 GB, free: 11.43 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8179/3.014, allocations: 153.7 MB / 1.947 GB, free: 430.7 MB / 1.498 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.13/21.15, allocations: 7.953 kB / 1.947 GB, free: 430.7 MB / 1.498 GB (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.fmu > Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RLC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RLC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches