Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.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: 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_latest_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_latest_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.006727/0.006727, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001526/0.001526, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.604/2.604, allocations: 472.6 MB / 0.7453 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001288/0.001288, allocations: 67.89 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8139/0.8152, allocations: 159.9 MB / 1.226 GB, free: 13.57 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource): time 0.004122/0.8194, allocations: 2.653 MB / 1.228 GB, free: 10.9 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002306/0.8217, allocations: 1.574 MB / 1.23 GB, free: 9.32 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.849e-05/0.8219, allocations: 4 kB / 1.23 GB, free: 9.316 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0007925/0.8227, allocations: 171.3 kB / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004485/0.8231, allocations: 155.3 kB / 1.23 GB, free: 8.996 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004522/0.8236, allocations: 187.5 kB / 1.23 GB, free: 8.812 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0002619/0.8239, allocations: 215.3 kB / 1.23 GB, free: 8.602 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000282/0.8241, allocations: 122.6 kB / 1.231 GB, free: 8.484 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001336/0.8243, allocations: 83.7 kB / 1.231 GB, free: 8.402 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002262/0.8245, allocations: 103.6 kB / 1.231 GB, free: 8.301 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.615e-05/0.8246, allocations: 12 kB / 1.231 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.8249, allocations: 207.6 kB / 1.231 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.989e-05/0.825, allocations: 63.81 kB / 1.231 GB, free: 8.023 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 8.658e-05/0.8251, allocations: 83.58 kB / 1.231 GB, free: 7.941 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0004253/0.8255, allocations: 311.5 kB / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.8255, allocations: 0 / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.393e-06/0.8255, allocations: 0 / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.8256, allocations: 0 / 1.231 GB, free: 7.641 MB / 0.9512 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.000644/0.8262, allocations: 478.7 kB / 1.232 GB, free: 7.121 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.8262, allocations: 12.03 kB / 1.232 GB, free: 7.109 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000744/0.827, allocations: 88.73 kB / 1.232 GB, free: 7.023 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.8272, allocations: 232 kB / 1.232 GB, free: 6.758 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.8273, allocations: 8.656 kB / 1.232 GB, free: 6.75 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.724e-05/0.8273, allocations: 20.36 kB / 1.232 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.8278, allocations: 300.1 kB / 1.232 GB, free: 6.402 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.486e-05/0.8278, allocations: 11.88 kB / 1.232 GB, free: 6.391 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.418e-05/0.8278, allocations: 4 kB / 1.232 GB, free: 6.387 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.8279, allocations: 16.22 kB / 1.233 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004144/0.8283, allocations: 224.4 kB / 1.233 GB, free: 6.148 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001724/0.83, allocations: 1.599 MB / 1.234 GB, free: 4.414 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003787/0.8304, allocations: 323.2 kB / 1.235 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.419e-05/0.8305, allocations: 65.69 kB / 1.235 GB, free: 3.973 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.422e-05/0.8306, allocations: 3.938 kB / 1.235 GB, free: 3.969 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.236e-05/0.8306, allocations: 34.72 kB / 1.235 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=9): time 1.483e-06/0.8306, allocations: 0 / 1.235 GB, free: 3.926 MB / 0.9512 GB Notification: Performance of matching and sorting (n=10): time 0.0005354/0.8311, allocations: 248.9 kB / 1.235 GB, free: 3.676 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.964e-05/0.8312, allocations: 81.3 kB / 1.235 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002491/0.8314, allocations: 211.4 kB / 1.235 GB, free: 3.363 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.8315, allocations: 29.7 kB / 1.235 GB, free: 3.328 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.804e-05/0.8316, allocations: 155.9 kB / 1.235 GB, free: 3.172 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.8316, allocations: 39.72 kB / 1.235 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.118e-05/0.8317, allocations: 49.66 kB / 1.235 GB, free: 3.078 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.8318, allocations: 322.8 kB / 1.236 GB, free: 2.754 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.832, allocations: 88.8 kB / 1.236 GB, free: 2.664 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.8322, allocations: 159.9 kB / 1.236 GB, free: 2.469 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003146/0.8325, allocations: 234.9 kB / 1.236 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.522e-06/0.8325, allocations: 0 / 1.236 GB, free: 2.199 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004877/0.833, allocations: 277.2 kB / 1.236 GB, free: 1.922 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.833, allocations: 9.094 kB / 1.237 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.8331, allocations: 0 / 1.237 GB, free: 1.914 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.8331, allocations: 11.94 kB / 1.237 GB, free: 1.902 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/0.8333, allocations: 52.27 kB / 1.237 GB, free: 1.852 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.8334, allocations: 8 kB / 1.237 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002346/0.8336, allocations: 23.92 kB / 1.237 GB, free: 1.82 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.8336, allocations: 19.98 kB / 1.237 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002073/0.8338, allocations: 164 kB / 1.237 GB, free: 1.637 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002005/0.834, allocations: 162.9 kB / 1.237 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002786/0.8343, allocations: 219.8 kB / 1.237 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.633e-06/0.8343, allocations: 0 / 1.237 GB, free: 1.18 MB / 0.9512 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004413/0.8348, allocations: 253.3 kB / 1.237 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.8348, allocations: 8 kB / 1.237 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.8348, allocations: 4 kB / 1.237 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.589e-06/0.8348, allocations: 4 kB / 1.237 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002054/0.835, allocations: 48.03 kB / 1.237 GB, free: 0.8633 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.555e-06/0.8351, allocations: 11.94 kB / 1.237 GB, free: 0.8516 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.8353, allocations: 24.22 kB / 1.237 GB, free: 0.8281 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.508e-05/0.8353, allocations: 12 kB / 1.237 GB, free: 0.8164 MB / 0.9512 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 9.833e-05/0.8354, allocations: 192.7 kB / 1.238 GB, free: 0.6211 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.583e-05/0.8355, allocations: 19.84 kB / 1.238 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002393/0.8357, allocations: 147 kB / 1.238 GB, free: 456 kB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.8357, allocations: 3.938 kB / 1.238 GB, free: 452 kB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.888e-06/0.8357, allocations: 4 kB / 1.238 GB, free: 448 kB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.8358, allocations: 3.938 kB / 1.238 GB, free: 444 kB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009049/0.8367, allocations: 0.7277 MB / 1.239 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.8367, allocations: 4.031 kB / 1.239 GB, free: 15.62 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001061/0.8368, allocations: 23.98 kB / 1.239 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.8368, allocations: 7.938 kB / 1.239 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.195e-05/0.8368, allocations: 4 kB / 1.239 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.8368, allocations: 4 kB / 1.239 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.8368, allocations: 0 / 1.239 GB, free: 15.58 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003005/0.8371, allocations: 382.3 kB / 1.239 GB, free: 15.16 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.888e-05/0.8372, allocations: 109 kB / 1.239 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.193e-05/0.8373, allocations: 7.984 kB / 1.239 GB, free: 15.03 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.8375, allocations: 15.98 kB / 1.239 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.941e-05/0.8375, allocations: 15.86 kB / 1.239 GB, free: 15 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.687e-06/0.8375, allocations: 7.938 kB / 1.239 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.000167/0.8377, allocations: 157.2 kB / 1.239 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of sort global known variables: time 2.01e-07/0.8377, allocations: 4 kB / 1.239 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005203/0.8382, allocations: 68 kB / 1.239 GB, free: 14.77 MB / 0.9669 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001299/0.8384, allocations: 107.2 kB / 1.239 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0005078/0.8389, allocations: 284.5 kB / 1.24 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8389, allocations: 0 / 1.24 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 9.437e-05/0.839, allocations: 59.84 kB / 1.24 GB, free: 14.32 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004602/0.8395, allocations: 30.55 kB / 1.24 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006298/0.8401, allocations: 422.2 kB / 1.24 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003025/0.8404, allocations: 0.7479 MB / 1.241 GB, free: 13.05 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.8407, allocations: 77.45 kB / 1.241 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.341e-05/0.8407, allocations: 19.44 kB / 1.241 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.8407, allocations: 0 / 1.241 GB, free: 12.95 MB / 0.9669 GB Notification: Performance of Templates: time 0.004452/0.8452, allocations: 1.916 MB / 1.243 GB, free: 11.07 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_ThreePhasesBalanced_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.ThreePhasesBalanced.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches