Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/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: translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001213/0.001213, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.001381/0.001381, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.551/1.551, allocations: 223.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.476/2.476, allocations: 390.9 MB / 0.666 GB, free: 2.496 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000467/0.0004671, allocations: 8 kB / 0.8154 GB, free: 13.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9119/0.9124, allocations: 142.4 MB / 0.9544 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.002864/0.9154, allocations: 2.064 MB / 0.9565 GB, free: 6.133 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002241/0.9176, allocations: 1.314 MB / 0.9577 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001106/0.9178, allocations: 6.625 kB / 0.9578 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002316/0.918, allocations: 22.5 kB / 0.9578 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0003937/0.9184, allocations: 92.38 kB / 0.9579 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004369/0.9189, allocations: 143.3 kB / 0.958 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0003047/0.9192, allocations: 255.7 kB / 0.9582 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000498/0.9197, allocations: 232.5 kB / 0.9585 GB, free: 4.586 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001299/0.9198, allocations: 70.75 kB / 0.9585 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002486/0.9201, allocations: 96.75 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.233e-05/0.9201, allocations: 6.562 kB / 0.9586 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002076/0.9203, allocations: 106.2 kB / 0.9587 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.578e-05/0.9204, allocations: 57.86 kB / 0.9588 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.383e-05/0.9204, allocations: 57.95 kB / 0.9588 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.9207, allocations: 211.7 kB / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.9207, allocations: 1.375 kB / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9207, allocations: 0 / 0.959 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.119e-06/0.9207, allocations: 3.938 kB / 0.959 GB, free: 4.227 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005927/0.9213, allocations: 441.6 kB / 0.9595 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.128e-05/0.9214, allocations: 8.25 kB / 0.9595 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000472/0.9218, allocations: 66.11 kB / 0.9595 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002225/0.9221, allocations: 224.7 kB / 0.9598 GB, free: 3.52 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.9221, allocations: 13.78 kB / 0.9598 GB, free: 3.512 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.43e-05/0.9221, allocations: 13.62 kB / 0.9598 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004001/0.9226, allocations: 280.9 kB / 0.96 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.96e-05/0.9226, allocations: 9.281 kB / 0.9601 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.482e-05/0.9226, allocations: 5.344 kB / 0.9601 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.397e-05/0.9227, allocations: 21.14 kB / 0.9601 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003376/0.923, allocations: 210.7 kB / 0.9603 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001506/0.9245, allocations: 1.58 MB / 0.9618 GB, free: 1.656 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003623/0.9249, allocations: 313.4 kB / 0.9621 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.925, allocations: 66.02 kB / 0.9622 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.714e-05/0.925, allocations: 8.938 kB / 0.9622 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.9251, allocations: 32.56 kB / 0.9622 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 1.313e-06/0.9251, allocations: 0 / 0.9622 GB, free: 1.273 MB / 0.7169 GB Notification: Performance of matching and sorting (n=10): time 0.0005599/0.9256, allocations: 242.5 kB / 0.9625 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.9257, allocations: 82.28 kB / 0.9625 GB, free: 1.027 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.9259, allocations: 200 kB / 0.9627 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.372e-05/0.9259, allocations: 25.89 kB / 0.9628 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.831e-05/0.926, allocations: 162 kB / 0.9629 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.782e-05/0.926, allocations: 40.14 kB / 0.9629 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/0.926, allocations: 1.031 kB / 0.9629 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.329e-05/0.9261, allocations: 326.8 kB / 0.9633 GB, free: 340 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001024/0.9262, allocations: 65.73 kB / 0.9633 GB, free: 308 kB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.9263, allocations: 156.1 kB / 0.9635 GB, free: 156 kB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001454/0.9265, allocations: 93.58 kB / 0.9636 GB, free: 108 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.9265, allocations: 8.922 kB / 0.9636 GB, free: 100 kB / 0.7169 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00041/0.9269, allocations: 244.6 kB / 0.9638 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001369/0.9271, allocations: 178.8 kB / 0.964 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.268e-06/0.9271, allocations: 6.344 kB / 0.964 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.149e-05/0.9271, allocations: 5.312 kB / 0.964 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.9273, allocations: 53.5 kB / 0.964 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.585e-05/0.9274, allocations: 8.781 kB / 0.964 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/0.9275, allocations: 19.2 kB / 0.9641 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.906e-05/0.9276, allocations: 16.17 kB / 0.9641 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 7.484e-06/0.9276, allocations: 4.031 kB / 0.9641 GB, free: 15.72 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003179/0.9279, allocations: 182.4 kB / 0.9643 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.9279, allocations: 7.172 kB / 0.9643 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.9279, allocations: 9.594 kB / 0.9643 GB, free: 15.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001692/0.9281, allocations: 55.66 kB / 0.9643 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.9281, allocations: 8.188 kB / 0.9643 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001001/0.9282, allocations: 13.61 kB / 0.9643 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.9283, allocations: 8.25 kB / 0.9644 GB, free: 15.6 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (25): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000156/0.9284, allocations: 219.9 kB / 0.9646 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.483e-05/0.9285, allocations: 14.22 kB / 0.9646 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002602/0.9288, allocations: 147.8 kB / 0.9647 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.402e-06/0.9288, allocations: 2.156 kB / 0.9647 GB, free: 15.28 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.9288, allocations: 7.938 kB / 0.9647 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9288, allocations: 0 / 0.9647 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000914/0.9297, allocations: 0.718 MB / 0.9654 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.9297, allocations: 6.516 kB / 0.9654 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/0.9298, allocations: 26.61 kB / 0.9655 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.4e-06/0.9299, allocations: 3.562 kB / 0.9655 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.9299, allocations: 7.938 kB / 0.9655 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.659e-06/0.9299, allocations: 3.438 kB / 0.9655 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/0.9299, allocations: 6.531 kB / 0.9655 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003294/0.9302, allocations: 378.7 kB / 0.9658 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.261e-05/0.9303, allocations: 112 kB / 0.9659 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.121e-05/0.9304, allocations: 3.594 kB / 0.966 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001728/0.9305, allocations: 12.95 kB / 0.966 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/0.9306, allocations: 9.641 kB / 0.966 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.197e-05/0.9306, allocations: 9.688 kB / 0.966 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001356/0.9307, allocations: 151.8 kB / 0.9661 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.003e-06/0.9308, allocations: 0 / 0.9661 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005041/0.9313, allocations: 71.59 kB / 0.9662 GB, free: 14.01 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001629/0.9314, allocations: 111.3 kB / 0.9663 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004117/0.9319, allocations: 258.9 kB / 0.9665 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.9319, allocations: 1.031 kB / 0.9665 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001127/0.932, allocations: 64.48 kB / 0.9666 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.9325, allocations: 28.73 kB / 0.9666 GB, free: 13.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000799/0.9333, allocations: 0.4973 MB / 0.9671 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.9336, allocations: 0.7379 MB / 0.9678 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001976/0.9338, allocations: 74.69 kB / 0.9679 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.521e-05/0.9339, allocations: 20.45 kB / 0.9679 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of SimCode: time 3.1e-07/0.9339, allocations: 0 / 0.9679 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of Templates: time 0.004615/0.9385, allocations: 1.627 MB / 0.9695 GB, free: 11.76 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches