Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.006081/0.006081, 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.001288/0.001288, allocations: 189.4 kB / 16.67 MB, free: 5.934 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.5/1.5, allocations: 222.9 MB / 240.4 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.671/2.671, allocations: 437 MB / 0.7105 GB, free: 4.379 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.002259/0.00226, allocations: 67.89 kB / 1.019 GB, free: 9.398 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.253/1.256, allocations: 151.6 MB / 1.167 GB, free: 3.98 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.006094/1.262, allocations: 2.431 MB / 1.169 GB, free: 1.539 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00397/1.266, allocations: 1.586 MB / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001538/1.266, allocations: 0 / 1.171 GB, free: 15.94 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.0009111/1.267, allocations: 173 kB / 1.171 GB, free: 15.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0005546/1.268, allocations: 155.3 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007519/1.268, allocations: 187.4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0003874/1.269, allocations: 215.3 kB / 1.171 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/1.269, allocations: 117 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002251/1.269, allocations: 91.67 kB / 1.171 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003278/1.27, allocations: 99.64 kB / 1.172 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 3.709e-05/1.27, allocations: 12 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005399/1.27, allocations: 219.6 kB / 1.172 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/1.271, allocations: 59.88 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001347/1.271, allocations: 79.59 kB / 1.172 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0006981/1.271, allocations: 315.8 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 7.004e-06/1.271, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.405e-06/1.271, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 7.875e-06/1.271, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 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.001027/1.273, allocations: 478.7 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.922e-05/1.273, allocations: 8.031 kB / 1.173 GB, free: 13.73 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/1.274, allocations: 84.73 kB / 1.173 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/1.274, allocations: 240 kB / 1.173 GB, free: 13.37 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.258e-05/1.274, allocations: 12.66 kB / 1.173 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.313e-05/1.274, allocations: 12.38 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009195/1.275, allocations: 295.6 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.219e-05/1.275, allocations: 0 / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.122e-05/1.275, allocations: 4 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.107e-05/1.276, allocations: 28.16 kB / 1.173 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007451/1.276, allocations: 224.4 kB / 1.173 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003195/1.28, allocations: 1.599 MB / 1.175 GB, free: 11.04 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007457/1.28, allocations: 315.3 kB / 1.175 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001858/1.281, allocations: 65.69 kB / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.591e-05/1.281, allocations: 0 / 1.175 GB, free: 10.6 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.681e-05/1.281, allocations: 42.5 kB / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 2.454e-06/1.281, allocations: 0 / 1.175 GB, free: 10.55 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10): time 0.001057/1.282, allocations: 245.1 kB / 1.176 GB, free: 10.3 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.052e-05/1.282, allocations: 81.3 kB / 1.176 GB, free: 10.21 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004116/1.282, allocations: 216 kB / 1.176 GB, free: 9.988 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.766e-05/1.282, allocations: 25.7 kB / 1.176 GB, free: 9.957 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/1.282, allocations: 156 kB / 1.176 GB, free: 9.801 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.583e-05/1.283, allocations: 39.69 kB / 1.176 GB, free: 9.762 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000158/1.283, allocations: 49.66 kB / 1.176 GB, free: 9.707 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001967/1.283, allocations: 322.8 kB / 1.177 GB, free: 9.383 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002968/1.283, allocations: 80.81 kB / 1.177 GB, free: 9.301 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003818/1.284, allocations: 167 kB / 1.177 GB, free: 9.098 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/1.284, allocations: 230.9 kB / 1.177 GB, free: 8.832 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/1.284, allocations: 7.938 kB / 1.177 GB, free: 8.824 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0009668/1.285, allocations: 273.2 kB / 1.177 GB, free: 8.551 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.926e-05/1.285, allocations: 8 kB / 1.177 GB, free: 8.543 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/1.285, allocations: 4 kB / 1.177 GB, free: 8.539 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.309e-05/1.285, allocations: 7.938 kB / 1.177 GB, free: 8.531 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004881/1.286, allocations: 52.28 kB / 1.177 GB, free: 8.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.965e-05/1.286, allocations: 11.98 kB / 1.177 GB, free: 8.469 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004401/1.286, allocations: 19.98 kB / 1.177 GB, free: 8.449 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.362e-05/1.286, allocations: 12 kB / 1.177 GB, free: 8.438 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003936/1.287, allocations: 172 kB / 1.178 GB, free: 8.266 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003626/1.287, allocations: 163.4 kB / 1.178 GB, free: 8.066 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005375/1.288, allocations: 219.8 kB / 1.178 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.155e-06/1.288, allocations: 0 / 1.178 GB, free: 7.809 MB / 0.9044 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0008665/1.289, allocations: 257.3 kB / 1.178 GB, free: 7.551 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/1.289, allocations: 4 kB / 1.178 GB, free: 7.547 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/1.289, allocations: 7.938 kB / 1.178 GB, free: 7.539 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.493e-05/1.289, allocations: 4 kB / 1.178 GB, free: 7.535 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003761/1.289, allocations: 47.97 kB / 1.178 GB, free: 7.488 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.382e-05/1.289, allocations: 11.88 kB / 1.178 GB, free: 7.477 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004158/1.29, allocations: 24.3 kB / 1.178 GB, free: 7.453 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.29, allocations: 19.98 kB / 1.178 GB, free: 7.434 MB / 0.9044 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.0002067/1.29, allocations: 192.2 kB / 1.178 GB, free: 7.238 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001093/1.29, allocations: 11.91 kB / 1.178 GB, free: 7.227 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004423/1.291, allocations: 143 kB / 1.179 GB, free: 7.078 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.291, allocations: 7.938 kB / 1.179 GB, free: 7.07 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.387e-06/1.291, allocations: 3.984 kB / 1.179 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/1.291, allocations: 0 / 1.179 GB, free: 7.066 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001774/1.292, allocations: 0.7274 MB / 1.179 GB, free: 6.254 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/1.292, allocations: 4.344 kB / 1.179 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/1.293, allocations: 23.98 kB / 1.179 GB, free: 6.227 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.359e-05/1.293, allocations: 4 kB / 1.179 GB, free: 6.223 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.102e-05/1.293, allocations: 4 kB / 1.179 GB, free: 6.219 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.49e-05/1.293, allocations: 7.938 kB / 1.179 GB, free: 6.211 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.293, allocations: 7.938 kB / 1.179 GB, free: 6.203 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005374/1.293, allocations: 374.3 kB / 1.18 GB, free: 5.793 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/1.293, allocations: 109 kB / 1.18 GB, free: 5.668 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.561e-05/1.293, allocations: 8 kB / 1.18 GB, free: 5.66 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003674/1.294, allocations: 15.98 kB / 1.18 GB, free: 5.645 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.195e-05/1.294, allocations: 11.92 kB / 1.18 GB, free: 5.633 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.506e-05/1.294, allocations: 11.94 kB / 1.18 GB, free: 5.621 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0004649/1.294, allocations: 160.8 kB / 1.18 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of sort global known variables: time 5.01e-07/1.294, allocations: 4 kB / 1.18 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.000955/1.295, allocations: 71.98 kB / 1.18 GB, free: 5.391 MB / 0.9044 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.0002592/1.296, allocations: 107.2 kB / 1.18 GB, free: 5.277 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001025/1.297, allocations: 293 kB / 1.18 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 5.581e-06/1.297, allocations: 0 / 1.18 GB, free: 4.992 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001614/1.297, allocations: 59.84 kB / 1.181 GB, free: 4.934 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008402/1.298, allocations: 35.94 kB / 1.181 GB, free: 4.902 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001432/1.299, allocations: 412.2 kB / 1.181 GB, free: 4.445 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007964/1.3, allocations: 0.7402 MB / 1.182 GB, free: 3.68 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 0.0004249/1.301, allocations: 81.48 kB / 1.182 GB, free: 3.598 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001004/1.301, allocations: 19.44 kB / 1.182 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of SimCode: time 4.6e-07/1.301, allocations: 0 / 1.182 GB, free: 3.578 MB / 0.9044 GB Notification: Performance of Templates: time 0.009077/1.31, allocations: 1.921 MB / 1.184 GB, free: 1.668 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.sim & ./Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_AC_OnePhase_Sources_Examples_FixedVoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches