Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.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.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 116.2 kB / 16.42 MB, free: 6.465 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.001391/0.001392, allocations: 189.5 kB / 17.35 MB, free: 5.719 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.391/1.391, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.233/2.233, allocations: 390.3 MB / 0.6655 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001509/0.001509, allocations: 59.91 kB / 0.9515 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9234/0.9249, allocations: 140.4 MB / 1.089 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004173/0.9292, allocations: 2.625 MB / 1.091 GB, free: 3.762 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002534/0.9317, allocations: 1.58 MB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.9319, allocations: 2.75 kB / 1.093 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0007011/0.9326, allocations: 175.8 kB / 1.093 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003973/0.933, allocations: 154.5 kB / 1.093 GB, free: 2.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004593/0.9334, allocations: 186.4 kB / 1.093 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003241/0.9338, allocations: 216 kB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002964/0.9341, allocations: 123.6 kB / 1.094 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.9342, allocations: 90.38 kB / 1.094 GB, free: 2.234 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.9345, allocations: 104 kB / 1.094 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.343e-05/0.9345, allocations: 15.5 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.9349, allocations: 209 kB / 1.094 GB, free: 2.121 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.494e-05/0.9351, allocations: 66.94 kB / 1.094 GB, free: 2.094 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.333e-05/0.9352, allocations: 79.48 kB / 1.094 GB, free: 2.047 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005303/0.9357, allocations: 302.5 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.9357, allocations: 0.9688 kB / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9357, allocations: 0 / 1.094 GB, free: 1.953 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.27e-05/0.9357, allocations: 0 / 1.094 GB, free: 1.953 MB / 0.8575 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.0007416/0.9365, allocations: 483.1 kB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.924e-05/0.9365, allocations: 8.719 kB / 1.095 GB, free: 1.512 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008778/0.9374, allocations: 85.25 kB / 1.095 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002722/0.9377, allocations: 231.8 kB / 1.095 GB, free: 1.273 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.9377, allocations: 10.67 kB / 1.095 GB, free: 1.27 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.864e-05/0.9378, allocations: 17.5 kB / 1.095 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005532/0.9383, allocations: 296.9 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.608e-05/0.9384, allocations: 0.875 kB / 1.095 GB, free: 1.078 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.838e-05/0.9384, allocations: 14.73 kB / 1.095 GB, free: 1.066 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.46e-05/0.9384, allocations: 16.44 kB / 1.095 GB, free: 1.062 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005641/0.939, allocations: 222.5 kB / 1.096 GB, free: 0.9922 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/0.9409, allocations: 1.594 MB / 1.097 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004601/0.9414, allocations: 327.1 kB / 1.098 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001168/0.9415, allocations: 64.52 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.374e-05/0.9416, allocations: 0.5 kB / 1.098 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.396e-05/0.9416, allocations: 37.39 kB / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 1.472e-06/0.9416, allocations: 0 / 1.098 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006393/0.9423, allocations: 242.1 kB / 1.098 GB, free: 15.13 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.994e-05/0.9423, allocations: 83.2 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003113/0.9426, allocations: 209.3 kB / 1.098 GB, free: 14.9 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.9427, allocations: 26.92 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001242/0.9428, allocations: 161.4 kB / 1.098 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.161e-05/0.9429, allocations: 36.58 kB / 1.098 GB, free: 14.69 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001133/0.943, allocations: 55.25 kB / 1.098 GB, free: 14.66 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.9431, allocations: 322.5 kB / 1.099 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001989/0.9433, allocations: 81.06 kB / 1.099 GB, free: 14.31 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002545/0.9436, allocations: 155.8 kB / 1.099 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004406/0.944, allocations: 242.6 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9441, allocations: 1.125 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006106/0.9447, allocations: 272.1 kB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.228e-05/0.9447, allocations: 10.03 kB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.9447, allocations: 3.281 kB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.178e-05/0.9447, allocations: 8.375 kB / 1.099 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.945, allocations: 58.12 kB / 1.1 GB, free: 13.87 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.923e-05/0.9451, allocations: 8.391 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002516/0.9453, allocations: 22.05 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.352e-05/0.9454, allocations: 13.89 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002791/0.9456, allocations: 171.5 kB / 1.1 GB, free: 13.74 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002127/0.9459, allocations: 156.3 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003078/0.9462, allocations: 214.7 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/0.9462, allocations: 0.75 kB / 1.1 GB, free: 13.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000507/0.9467, allocations: 254.4 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.9467, allocations: 6.156 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.9467, allocations: 4.562 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.314e-06/0.9468, allocations: 8.578 kB / 1.1 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002099/0.947, allocations: 54.88 kB / 1.1 GB, free: 13.31 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.947, allocations: 7.938 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002127/0.9472, allocations: 22.73 kB / 1.1 GB, free: 13.3 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.147e-05/0.9472, allocations: 10.39 kB / 1.1 GB, free: 13.3 MB / 0.8731 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001198/0.9474, allocations: 192.7 kB / 1.101 GB, free: 13.11 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.98e-05/0.9474, allocations: 14.58 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002771/0.9477, allocations: 148.3 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/0.9477, allocations: 9.531 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.9477, allocations: 1.75 kB / 1.101 GB, free: 13.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001005/0.9478, allocations: 102.5 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.533e-05/0.9479, allocations: 6.859 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000224/0.9481, allocations: 14.75 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.96e-05/0.9482, allocations: 6.906 kB / 1.101 GB, free: 12.91 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003351/0.9485, allocations: 301.2 kB / 1.101 GB, free: 12.68 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003203/0.9488, allocations: 389.5 kB / 1.102 GB, free: 12.36 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.722e-05/0.9489, allocations: 56.06 kB / 1.102 GB, free: 12.34 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002035/0.9491, allocations: 159.1 kB / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of Backend: time 4.51e-07/0.9491, allocations: 0 / 1.102 GB, free: 12.24 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001255/0.9504, allocations: 409.6 kB / 1.102 GB, free: 12.09 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0009476/0.9514, allocations: 0.776 MB / 1.103 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of Templates: time 0.009421/0.9608, allocations: 3.987 MB / 1.107 GB, free: 11.06 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches