Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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: 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_latest_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_latest_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.004699/0.0047, allocations: 103.8 kB / 15.73 MB, free: 6.055 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.00108/0.00108, allocations: 199.2 kB / 16.68 MB, free: 5.977 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.552/2.552, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 67.84 kB / 1.054 GB, free: 7.664 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8907/0.892, allocations: 157.4 MB / 1.208 GB, free: 13.58 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003986/0.896, allocations: 2.424 MB / 1.21 GB, free: 11.15 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002553/0.8986, allocations: 1.585 MB / 1.212 GB, free: 9.555 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.8987, allocations: 3.938 kB / 1.212 GB, free: 9.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0006822/0.8995, allocations: 183.2 kB / 1.212 GB, free: 9.371 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0004542/0.9, allocations: 151.3 kB / 1.212 GB, free: 9.223 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005012/0.9005, allocations: 187.5 kB / 1.212 GB, free: 9.039 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003084/0.9008, allocations: 219.3 kB / 1.212 GB, free: 8.824 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002644/0.9011, allocations: 109 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001587/0.9012, allocations: 83.75 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002559/0.9015, allocations: 115.6 kB / 1.213 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/0.9015, allocations: 8 kB / 1.213 GB, free: 8.516 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000372/0.9019, allocations: 215.6 kB / 1.213 GB, free: 8.305 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.163e-05/0.902, allocations: 67.8 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 8.165e-05/0.9021, allocations: 75.59 kB / 1.213 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004234/0.9025, allocations: 304.8 kB / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.9025, allocations: 0 / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9025, allocations: 0 / 1.213 GB, free: 7.871 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.9026, allocations: 4 kB / 1.213 GB, free: 7.867 MB / 0.9356 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.0007078/0.9033, allocations: 475.2 kB / 1.214 GB, free: 7.352 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.9033, allocations: 8.031 kB / 1.214 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007906/0.9041, allocations: 88.64 kB / 1.214 GB, free: 7.258 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003054/0.9044, allocations: 232 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.9044, allocations: 12.64 kB / 1.214 GB, free: 6.98 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/0.9045, allocations: 16.38 kB / 1.214 GB, free: 6.965 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004671/0.905, allocations: 291.5 kB / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.905, allocations: 0 / 1.214 GB, free: 6.645 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.756e-05/0.905, allocations: 15.98 kB / 1.214 GB, free: 6.629 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.683e-05/0.9051, allocations: 20.22 kB / 1.214 GB, free: 6.609 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004216/0.9055, allocations: 220.4 kB / 1.215 GB, free: 6.395 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001816/0.9073, allocations: 1.588 MB / 1.216 GB, free: 4.672 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003732/0.9077, allocations: 323.2 kB / 1.216 GB, free: 4.301 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.921e-05/0.9078, allocations: 57.69 kB / 1.217 GB, free: 4.238 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.541e-05/0.9078, allocations: 4 kB / 1.217 GB, free: 4.234 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.9079, allocations: 38.56 kB / 1.217 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 3.266e-06/0.9079, allocations: 0 / 1.217 GB, free: 4.188 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10): time 0.000556/0.9084, allocations: 248.8 kB / 1.217 GB, free: 3.938 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.363e-05/0.9085, allocations: 81.09 kB / 1.217 GB, free: 3.84 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.9088, allocations: 207.4 kB / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.9088, allocations: 29.64 kB / 1.217 GB, free: 3.59 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.9089, allocations: 156 kB / 1.217 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/0.9089, allocations: 47.44 kB / 1.217 GB, free: 3.387 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.75e-05/0.909, allocations: 45.7 kB / 1.217 GB, free: 3.336 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.9091, allocations: 326.8 kB / 1.218 GB, free: 3.008 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000163/0.9093, allocations: 84.73 kB / 1.218 GB, free: 2.922 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001978/0.9095, allocations: 163 kB / 1.218 GB, free: 2.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.9098, allocations: 231 kB / 1.218 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.9098, allocations: 0 / 1.218 GB, free: 2.457 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004903/0.9103, allocations: 277.3 kB / 1.218 GB, free: 2.18 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.9103, allocations: 4 kB / 1.218 GB, free: 2.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/0.9103, allocations: 4.078 kB / 1.218 GB, free: 2.172 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.9104, allocations: 7.938 kB / 1.218 GB, free: 2.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002468/0.9106, allocations: 59.89 kB / 1.218 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.033e-05/0.9106, allocations: 7.984 kB / 1.218 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002351/0.9109, allocations: 20.11 kB / 1.218 GB, free: 2.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.104e-05/0.9109, allocations: 15.98 kB / 1.218 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001936/0.9111, allocations: 173.1 kB / 1.219 GB, free: 1.891 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001791/0.9113, allocations: 159.4 kB / 1.219 GB, free: 1.695 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002741/0.9116, allocations: 223.8 kB / 1.219 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.013e-06/0.9116, allocations: 0 / 1.219 GB, free: 1.434 MB / 0.9356 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.000462/0.912, allocations: 249.2 kB / 1.219 GB, free: 1.184 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.9121, allocations: 8 kB / 1.219 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.9121, allocations: 416 / 1.219 GB, free: 1.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001076/0.9122, allocations: 12 kB / 1.219 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001947/0.9124, allocations: 47.91 kB / 1.219 GB, free: 1.117 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.898e-06/0.9124, allocations: 11.88 kB / 1.219 GB, free: 1.105 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002148/0.9126, allocations: 27.91 kB / 1.219 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.056e-05/0.9127, allocations: 12 kB / 1.219 GB, free: 1.066 MB / 0.9356 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.0001801/0.9128, allocations: 192.1 kB / 1.22 GB, free: 0.8711 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.006e-05/0.9129, allocations: 15.81 kB / 1.22 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003684/0.9133, allocations: 147 kB / 1.22 GB, free: 0.6992 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.9133, allocations: 3.938 kB / 1.22 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.9133, allocations: 0 / 1.22 GB, free: 0.6953 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.9133, allocations: 4 kB / 1.22 GB, free: 0.6914 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001011/0.9143, allocations: 0.7273 MB / 1.22 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/0.9144, allocations: 4.047 kB / 1.22 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.9145, allocations: 27.97 kB / 1.22 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.9145, allocations: 4 kB / 1.22 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.269e-05/0.9145, allocations: 0 / 1.22 GB, free: 15.84 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.9145, allocations: 7.938 kB / 1.22 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.9145, allocations: 4.344 kB / 1.22 GB, free: 15.83 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003376/0.9149, allocations: 386.2 kB / 1.221 GB, free: 15.41 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001088/0.915, allocations: 104.9 kB / 1.221 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.908e-05/0.915, allocations: 4 kB / 1.221 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001975/0.9152, allocations: 11.98 kB / 1.221 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.247e-05/0.9152, allocations: 23.86 kB / 1.221 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.708e-06/0.9153, allocations: 4 kB / 1.221 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001788/0.9154, allocations: 156.1 kB / 1.221 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9155, allocations: 0 / 1.221 GB, free: 15.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005441/0.916, allocations: 72 kB / 1.221 GB, free: 15.02 MB / 0.9512 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.0001774/0.9162, allocations: 111.1 kB / 1.221 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.000552/0.9168, allocations: 284.8 kB / 1.222 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.9168, allocations: 0 / 1.222 GB, free: 14.62 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001928/0.917, allocations: 60.34 kB / 1.222 GB, free: 14.57 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004705/0.9174, allocations: 31.92 kB / 1.222 GB, free: 14.54 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007719/0.9182, allocations: 411.1 kB / 1.222 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000487/0.9187, allocations: 0.7401 MB / 1.223 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002109/0.9189, allocations: 77.47 kB / 1.223 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.549e-05/0.919, allocations: 19.44 kB / 1.223 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of SimCode: time 2.2e-07/0.919, allocations: 0 / 1.223 GB, free: 13.22 MB / 0.9512 GB Notification: Performance of Templates: time 0.0053/0.9243, allocations: 1.936 MB / 1.225 GB, free: 11.3 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches