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.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.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.001396/0.001397, allocations: 102.1 kB / 16.4 MB, free: 6.406 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.001436/0.001436, allocations: 192.2 kB / 17.35 MB, free: 5.695 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.343/1.343, allocations: 222.9 MB / 241 MB, free: 15.08 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.356/2.356, allocations: 390.3 MB / 0.6655 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 59.91 kB / 0.9515 GB, free: 7.672 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8066/0.8081, allocations: 140.4 MB / 1.089 GB, free: 5.539 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.00542/0.8135, allocations: 2.428 MB / 1.091 GB, free: 3.895 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.003288/0.8169, allocations: 1.585 MB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001419/0.817, allocations: 2.188 kB / 1.093 GB, free: 2.82 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008478/0.818, allocations: 172.4 kB / 1.093 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000435/0.8184, allocations: 158.5 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004863/0.8189, allocations: 182.9 kB / 1.093 GB, free: 2.547 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003219/0.8192, allocations: 215.2 kB / 1.093 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003126/0.8195, allocations: 120.4 kB / 1.093 GB, free: 2.406 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001629/0.8197, allocations: 85.95 kB / 1.093 GB, free: 2.371 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002444/0.82, allocations: 107.1 kB / 1.094 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.848e-05/0.82, allocations: 12.28 kB / 1.094 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003825/0.8204, allocations: 205.2 kB / 1.094 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.279e-05/0.8205, allocations: 62.38 kB / 1.094 GB, free: 2.238 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.453e-05/0.8206, allocations: 83.89 kB / 1.094 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004765/0.8211, allocations: 305.5 kB / 1.094 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.51e-06/0.8211, allocations: 5.344 kB / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.763e-06/0.8211, allocations: 0 / 1.094 GB, free: 2.086 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.8211, allocations: 0.6562 kB / 1.094 GB, free: 2.086 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.0006413/0.8218, allocations: 479 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.8218, allocations: 9.406 kB / 1.095 GB, free: 1.648 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007869/0.8226, allocations: 85.53 kB / 1.095 GB, free: 1.637 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002565/0.8229, allocations: 235.5 kB / 1.095 GB, free: 1.406 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.963e-05/0.8229, allocations: 10.38 kB / 1.095 GB, free: 1.402 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.161e-05/0.823, allocations: 17.42 kB / 1.095 GB, free: 1.395 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005499/0.8235, allocations: 292.8 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.469e-05/0.8235, allocations: 0.9062 kB / 1.095 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.86e-05/0.8236, allocations: 7.797 kB / 1.095 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.123e-05/0.8236, allocations: 14.72 kB / 1.095 GB, free: 1.207 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004906/0.8241, allocations: 222.9 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001799/0.8259, allocations: 1.594 MB / 1.097 GB, free: 15.75 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004464/0.8264, allocations: 320.2 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001191/0.8265, allocations: 71.06 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.604e-05/0.8266, allocations: 0.875 kB / 1.097 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.8266, allocations: 32.88 kB / 1.097 GB, free: 15.4 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=9): time 3.026e-06/0.8266, allocations: 5.422 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of matching and sorting (n=10): time 0.0006515/0.8273, allocations: 250.1 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.88e-05/0.8273, allocations: 79.11 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003232/0.8277, allocations: 205.6 kB / 1.098 GB, free: 15.04 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.33e-05/0.8277, allocations: 31.09 kB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001286/0.8278, allocations: 153 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.8279, allocations: 32.91 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001088/0.828, allocations: 54.73 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.8281, allocations: 326.8 kB / 1.099 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002018/0.8283, allocations: 88.36 kB / 1.099 GB, free: 14.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002345/0.8286, allocations: 150.3 kB / 1.099 GB, free: 14.32 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/0.829, allocations: 237.9 kB / 1.099 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.829, allocations: 2 kB / 1.099 GB, free: 14.15 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.000582/0.8296, allocations: 274.8 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8296, allocations: 6.938 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.8296, allocations: 2.844 kB / 1.099 GB, free: 14.03 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.8296, allocations: 8.812 kB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.8299, allocations: 54.41 kB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.8299, allocations: 12.11 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002454/0.8302, allocations: 21.17 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.541e-05/0.8302, allocations: 14.88 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002518/0.8305, allocations: 166.5 kB / 1.1 GB, free: 13.89 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002268/0.8307, allocations: 162 kB / 1.1 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003059/0.831, allocations: 222.6 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.675e-06/0.831, allocations: 1.031 kB / 1.1 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0005384/0.8316, allocations: 257.6 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.041e-05/0.8316, allocations: 6.5 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.8316, allocations: 4.078 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.8316, allocations: 4.719 kB / 1.1 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002349/0.8319, allocations: 53.66 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.206e-05/0.8319, allocations: 10.14 kB / 1.1 GB, free: 13.45 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002249/0.8321, allocations: 21.94 kB / 1.1 GB, free: 13.44 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.065e-05/0.8322, allocations: 15.28 kB / 1.1 GB, free: 13.43 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.0001285/0.8323, allocations: 197.3 kB / 1.1 GB, free: 13.24 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.8324, allocations: 14.12 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.8327, allocations: 148.8 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.753e-06/0.8327, allocations: 5.812 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/0.8327, allocations: 1.062 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.8327, allocations: 2.391 kB / 1.101 GB, free: 13.15 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001098/0.8338, allocations: 0.7215 MB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8338, allocations: 3.5 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.8339, allocations: 30.08 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.825e-06/0.834, allocations: 5.234 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.202e-05/0.834, allocations: 6.906 kB / 1.101 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.901e-06/0.834, allocations: 4.5 kB / 1.101 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.834, allocations: 2.688 kB / 1.101 GB, free: 12.58 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003418/0.8344, allocations: 383 kB / 1.102 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.769e-05/0.8345, allocations: 104.9 kB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.615e-05/0.8345, allocations: 9.25 kB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002057/0.8347, allocations: 10.56 kB / 1.102 GB, free: 12.14 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.8348, allocations: 20.45 kB / 1.102 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.068e-05/0.8348, allocations: 5.375 kB / 1.102 GB, free: 12.12 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001986/0.835, allocations: 159.4 kB / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/0.835, allocations: 0 / 1.102 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00058/0.8356, allocations: 73.94 kB / 1.102 GB, free: 12.01 MB / 0.8731 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.0001659/0.8357, allocations: 106 kB / 1.102 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006173/0.8364, allocations: 283.9 kB / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.8364, allocations: 0 / 1.102 GB, free: 11.83 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 9.679e-05/0.8365, allocations: 58.28 kB / 1.103 GB, free: 11.82 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000482/0.837, allocations: 35.56 kB / 1.103 GB, free: 11.8 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008314/0.8378, allocations: 457.2 kB / 1.103 GB, free: 11.46 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003431/0.8382, allocations: 0.7402 MB / 1.104 GB, free: 10.76 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.091e-05/0.8383, allocations: 20.3 kB / 1.104 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.8383, allocations: 5.281 kB / 1.104 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of Templates: time 0.005621/0.8439, allocations: 2.344 MB / 1.106 GB, free: 10.55 MB / 0.8731 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/jenkins1/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