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.008519/0.008519, allocations: 100.3 kB / 15.73 MB, free: 6.043 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.001848/0.001848, allocations: 190.6 kB / 16.67 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.563/1.563, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.46/2.46, allocations: 390.2 MB / 0.6648 GB, free: 248 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 58.16 kB / 0.9508 GB, free: 5.645 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3613/0.3625, allocations: 140.4 MB / 1.088 GB, free: 1.535 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.003928/0.3665, allocations: 2.43 MB / 1.09 GB, free: 15.09 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002483/0.369, allocations: 1.571 MB / 1.092 GB, free: 13.51 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001017/0.3691, allocations: 11.94 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0008048/0.37, allocations: 167.3 kB / 1.092 GB, free: 13.33 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000399/0.3704, allocations: 147.4 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004648/0.3709, allocations: 187.5 kB / 1.092 GB, free: 13 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0002757/0.3711, allocations: 223.2 kB / 1.093 GB, free: 12.79 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002862/0.3714, allocations: 121 kB / 1.093 GB, free: 12.66 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.3716, allocations: 87.73 kB / 1.093 GB, free: 12.58 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.3718, allocations: 107.6 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.846e-05/0.3719, allocations: 12 kB / 1.093 GB, free: 12.46 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.3722, allocations: 207.6 kB / 1.093 GB, free: 12.26 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.316e-05/0.3723, allocations: 63.86 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 9.137e-05/0.3724, allocations: 79.61 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003718/0.3728, allocations: 307 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.3728, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3728, allocations: 0 / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.3728, allocations: 0 / 1.093 GB, free: 11.82 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.0006713/0.3735, allocations: 483.1 kB / 1.094 GB, free: 11.3 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.3735, allocations: 12.03 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007448/0.3743, allocations: 84.64 kB / 1.094 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002896/0.3746, allocations: 232 kB / 1.094 GB, free: 10.94 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3746, allocations: 12.66 kB / 1.094 GB, free: 10.93 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.165e-05/0.3747, allocations: 8.375 kB / 1.094 GB, free: 10.92 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004846/0.3751, allocations: 299.5 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.248e-05/0.3752, allocations: 0 / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.412e-05/0.3752, allocations: 4 kB / 1.095 GB, free: 10.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.362e-05/0.3752, allocations: 24.22 kB / 1.095 GB, free: 10.56 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004223/0.3757, allocations: 224.4 kB / 1.095 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/0.3775, allocations: 1.603 MB / 1.096 GB, free: 8.602 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003782/0.3778, allocations: 319.3 kB / 1.097 GB, free: 8.234 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.261e-05/0.378, allocations: 65.67 kB / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.378, allocations: 0 / 1.097 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.201e-05/0.378, allocations: 30.69 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.378, allocations: 7.938 kB / 1.097 GB, free: 8.117 MB / 0.8575 GB Notification: Performance of matching and sorting (n=10): time 0.0005575/0.3786, allocations: 240.6 kB / 1.097 GB, free: 7.875 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.35e-05/0.3786, allocations: 85.11 kB / 1.097 GB, free: 7.773 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002467/0.3789, allocations: 203.4 kB / 1.097 GB, free: 7.566 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3789, allocations: 29.7 kB / 1.097 GB, free: 7.531 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.46e-05/0.379, allocations: 155.8 kB / 1.097 GB, free: 7.375 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.379, allocations: 35.73 kB / 1.097 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.414e-05/0.3791, allocations: 61.53 kB / 1.098 GB, free: 7.273 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.3792, allocations: 322.8 kB / 1.098 GB, free: 6.949 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001674/0.3794, allocations: 84.81 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002275/0.3797, allocations: 159 kB / 1.098 GB, free: 6.668 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003218/0.38, allocations: 239 kB / 1.098 GB, free: 6.395 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.38, allocations: 4 kB / 1.098 GB, free: 6.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.00048/0.3805, allocations: 269.3 kB / 1.099 GB, free: 6.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.3805, allocations: 12.06 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.646e-06/0.3805, allocations: 4 kB / 1.099 GB, free: 6.105 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.397e-05/0.3806, allocations: 7.938 kB / 1.099 GB, free: 6.098 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000263/0.3808, allocations: 55.89 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.616e-06/0.3808, allocations: 4 kB / 1.099 GB, free: 6.039 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.3811, allocations: 23.97 kB / 1.099 GB, free: 6.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.537e-05/0.3811, allocations: 8 kB / 1.099 GB, free: 6.008 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000202/0.3813, allocations: 172.1 kB / 1.099 GB, free: 5.836 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001917/0.3815, allocations: 153.7 kB / 1.099 GB, free: 5.645 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002905/0.3818, allocations: 219.8 kB / 1.099 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.266e-06/0.3818, allocations: 0 / 1.099 GB, free: 5.387 MB / 0.8575 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004276/0.3823, allocations: 253.1 kB / 1.099 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.3823, allocations: 5.562 kB / 1.099 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.3823, allocations: 4 kB / 1.099 GB, free: 5.125 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.853e-06/0.3823, allocations: 8.391 kB / 1.099 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002083/0.3825, allocations: 59.91 kB / 1.1 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3825, allocations: 11.88 kB / 1.1 GB, free: 5.047 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002142/0.3828, allocations: 15.98 kB / 1.1 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.507e-05/0.3828, allocations: 8 kB / 1.1 GB, free: 5.023 MB / 0.8575 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.0001106/0.3829, allocations: 192.1 kB / 1.1 GB, free: 4.828 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.795e-05/0.383, allocations: 23.8 kB / 1.1 GB, free: 4.805 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002338/0.3832, allocations: 139 kB / 1.1 GB, free: 4.664 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.3832, allocations: 15.88 kB / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.3832, allocations: 0 / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.3832, allocations: 0 / 1.1 GB, free: 4.648 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009383/0.3842, allocations: 0.7196 MB / 1.101 GB, free: 3.844 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.3842, allocations: 4 kB / 1.101 GB, free: 3.84 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.3843, allocations: 23.98 kB / 1.101 GB, free: 3.816 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.3843, allocations: 4 kB / 1.101 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.379e-05/0.3843, allocations: 7.938 kB / 1.101 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.3843, allocations: 12.47 kB / 1.101 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.3843, allocations: 0 / 1.101 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003108/0.3847, allocations: 378.5 kB / 1.101 GB, free: 3.379 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.53e-05/0.3848, allocations: 108.9 kB / 1.101 GB, free: 3.254 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.3848, allocations: 11.98 kB / 1.101 GB, free: 3.242 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000208/0.385, allocations: 11.98 kB / 1.101 GB, free: 3.23 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.851e-05/0.3851, allocations: 15.94 kB / 1.101 GB, free: 3.215 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.3851, allocations: 8 kB / 1.101 GB, free: 3.207 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0001675/0.3853, allocations: 156.8 kB / 1.101 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.814e-06/0.3853, allocations: 4 kB / 1.101 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0005122/0.3858, allocations: 75.94 kB / 1.101 GB, free: 2.977 MB / 0.8575 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.0001404/0.3859, allocations: 107.2 kB / 1.101 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005273/0.3865, allocations: 288.9 kB / 1.102 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.3865, allocations: 0 / 1.102 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 9.368e-05/0.3866, allocations: 64.47 kB / 1.102 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.3871, allocations: 40.95 kB / 1.102 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007078/0.3878, allocations: 410.9 kB / 1.102 GB, free: 2.023 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003362/0.3881, allocations: 0.7363 MB / 1.103 GB, free: 1.262 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.0002264/0.3884, allocations: 81.5 kB / 1.103 GB, free: 1.184 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.882e-05/0.3884, allocations: 19.42 kB / 1.103 GB, free: 1.164 MB / 0.8575 GB Notification: Performance of SimCode: time 3.91e-07/0.3884, allocations: 4 kB / 1.103 GB, free: 1.16 MB / 0.8575 GB Notification: Performance of Templates: time 0.004758/0.3932, allocations: 1.928 MB / 1.105 GB, free: 15.24 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/jenkins/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