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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001797/0.001797, allocations: 112.7 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002162/0.002162, allocations: 190.3 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.458/1.458, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.167/3.167, allocations: 0.4893 GB / 0.7884 GB, free: 33.19 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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=2500,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=2500,variableFilter="time|RL.i.1.|RL.i.2.|sen.V|sen.theta",fileNamePrefix="Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001974/0.001974, allocations: 66.83 kB / 1.145 GB, free: 30.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.349, allocations: 174.9 MB / 1.316 GB, free: 9.711 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource): time 0.004045/0.3531, allocations: 2.51 MB / 1.318 GB, free: 7.188 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.002687/0.3558, allocations: 1.632 MB / 1.32 GB, free: 5.547 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.945e-05/0.3559, allocations: 7.938 kB / 1.32 GB, free: 5.539 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.000678/0.3565, allocations: 167.3 kB / 1.32 GB, free: 5.375 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.0003921/0.3569, allocations: 171.2 kB / 1.32 GB, free: 5.207 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004468/0.3574, allocations: 175.6 kB / 1.321 GB, free: 5.035 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0003433/0.3577, allocations: 235.2 kB / 1.321 GB, free: 4.805 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002613/0.358, allocations: 89.17 kB / 1.321 GB, free: 4.715 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001634/0.3581, allocations: 95.67 kB / 1.321 GB, free: 4.621 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.3584, allocations: 115.6 kB / 1.321 GB, free: 4.508 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.835e-05/0.3584, allocations: 12 kB / 1.321 GB, free: 4.496 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003624/0.3588, allocations: 223.6 kB / 1.321 GB, free: 4.277 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 9.352e-05/0.3589, allocations: 67.8 kB / 1.321 GB, free: 4.211 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.359, allocations: 79.59 kB / 1.321 GB, free: 4.133 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.3594, allocations: 310.9 kB / 1.322 GB, free: 3.828 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.3594, allocations: 0 / 1.322 GB, free: 3.828 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.293e-06/0.3595, allocations: 0 / 1.322 GB, free: 3.828 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.3595, allocations: 0 / 1.322 GB, free: 3.828 MB / 1.014 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.0007746/0.3602, allocations: 421.5 kB / 1.322 GB, free: 3.383 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.3603, allocations: 8.031 kB / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007675/0.361, allocations: 88.67 kB / 1.322 GB, free: 3.289 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000305/0.3613, allocations: 172.8 kB / 1.322 GB, free: 3.098 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.912e-05/0.3614, allocations: 12.66 kB / 1.322 GB, free: 3.086 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.054e-05/0.3614, allocations: 12.38 kB / 1.322 GB, free: 3.074 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005561/0.362, allocations: 300.2 kB / 1.323 GB, free: 2.746 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.362, allocations: 7.938 kB / 1.323 GB, free: 2.738 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.567e-05/0.362, allocations: 4 kB / 1.323 GB, free: 2.734 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.815e-05/0.362, allocations: 28.22 kB / 1.323 GB, free: 2.703 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004431/0.3625, allocations: 220.4 kB / 1.323 GB, free: 2.488 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002084/0.3646, allocations: 1.566 MB / 1.324 GB, free: 0.8008 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003434/0.3649, allocations: 161.1 kB / 1.325 GB, free: 0.625 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001059/0.365, allocations: 53.69 kB / 1.325 GB, free: 0.5664 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.365, allocations: 7.938 kB / 1.325 GB, free: 0.5586 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.097e-05/0.3651, allocations: 38.56 kB / 1.325 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.3651, allocations: 0 / 1.325 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of matching and sorting (n=10): time 0.0006122/0.3657, allocations: 248.9 kB / 1.325 GB, free: 268 kB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.793e-05/0.3657, allocations: 85.03 kB / 1.325 GB, free: 164 kB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002858/0.366, allocations: 212 kB / 1.325 GB, free: 15.95 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/0.366, allocations: 25.7 kB / 1.325 GB, free: 15.91 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.3662, allocations: 164.1 kB / 1.325 GB, free: 15.75 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.967e-05/0.3662, allocations: 43.88 kB / 1.325 GB, free: 15.71 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.788e-05/0.3663, allocations: 45.7 kB / 1.326 GB, free: 15.66 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.3664, allocations: 322.8 kB / 1.326 GB, free: 15.33 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001818/0.3666, allocations: 88.8 kB / 1.326 GB, free: 15.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.3668, allocations: 169.2 kB / 1.326 GB, free: 15.04 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003658/0.3672, allocations: 254.8 kB / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3672, allocations: 0 / 1.326 GB, free: 14.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005304/0.3677, allocations: 285.5 kB / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.3678, allocations: 4 kB / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3678, allocations: 4 kB / 1.327 GB, free: 14.46 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.3678, allocations: 7.938 kB / 1.327 GB, free: 14.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000283/0.3681, allocations: 59.89 kB / 1.327 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.368e-06/0.3681, allocations: 4 kB / 1.327 GB, free: 14.39 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002604/0.3683, allocations: 27.92 kB / 1.327 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.444e-05/0.3684, allocations: 12.11 kB / 1.327 GB, free: 14.35 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002359/0.3686, allocations: 180.1 kB / 1.327 GB, free: 14.17 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002161/0.3688, allocations: 156.1 kB / 1.327 GB, free: 13.98 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003312/0.3691, allocations: 234.9 kB / 1.327 GB, free: 13.71 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.403e-06/0.3692, allocations: 4 kB / 1.327 GB, free: 13.7 MB / 1.029 GB Notification: Performance of matching and sorting (n=25) (initialization_lambda0): time 0.0004956/0.3696, allocations: 257.7 kB / 1.327 GB, free: 13.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.03e-05/0.3697, allocations: 8 kB / 1.328 GB, free: 13.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3697, allocations: 4 kB / 1.328 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.3697, allocations: 4 kB / 1.328 GB, free: 13.43 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002579/0.3699, allocations: 55.89 kB / 1.328 GB, free: 13.38 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.3699, allocations: 8.312 kB / 1.328 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.3702, allocations: 31.86 kB / 1.328 GB, free: 13.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.3702, allocations: 12 kB / 1.328 GB, free: 13.32 MB / 1.029 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.000128/0.3703, allocations: 192.2 kB / 1.328 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.468e-05/0.3704, allocations: 7.953 kB / 1.328 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002671/0.3706, allocations: 154.9 kB / 1.328 GB, free: 12.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.3706, allocations: 7.938 kB / 1.328 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.3706, allocations: 4 kB / 1.328 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.3707, allocations: 0 / 1.328 GB, free: 12.95 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009789/0.3716, allocations: 0.6877 MB / 1.329 GB, free: 12.18 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.3716, allocations: 7.984 kB / 1.329 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/0.3717, allocations: 23.92 kB / 1.329 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.98e-06/0.3717, allocations: 4 kB / 1.329 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.336e-05/0.3718, allocations: 4 kB / 1.329 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.3718, allocations: 4 kB / 1.329 GB, free: 12.14 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.416e-06/0.3718, allocations: 7.938 kB / 1.329 GB, free: 12.13 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.3721, allocations: 386.5 kB / 1.329 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.308e-05/0.3722, allocations: 31.81 kB / 1.329 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.119e-05/0.3722, allocations: 4 kB / 1.329 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.3724, allocations: 15.98 kB / 1.329 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.3725, allocations: 15.86 kB / 1.329 GB, free: 11.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.091e-05/0.3725, allocations: 8 kB / 1.329 GB, free: 11.63 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001921/0.3727, allocations: 161.2 kB / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3727, allocations: 0 / 1.329 GB, free: 11.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0005172/0.3732, allocations: 68 kB / 1.329 GB, free: 11.41 MB / 1.029 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.00015/0.3733, allocations: 103.7 kB / 1.329 GB, free: 11.3 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005544/0.3739, allocations: 280.4 kB / 1.33 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3739, allocations: 0 / 1.33 GB, free: 11.03 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.84e-05/0.374, allocations: 57.03 kB / 1.33 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004804/0.3745, allocations: 42.41 kB / 1.33 GB, free: 10.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007239/0.3752, allocations: 418.8 kB / 1.33 GB, free: 10.47 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3755, allocations: 0.7363 MB / 1.331 GB, free: 9.707 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0002151/0.3758, allocations: 85.44 kB / 1.331 GB, free: 9.625 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.586e-05/0.3758, allocations: 15.44 kB / 1.331 GB, free: 9.609 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.3758, allocations: 0 / 1.331 GB, free: 9.609 MB / 1.029 GB Notification: Performance of Templates: time 0.005567/0.3814, allocations: 2.197 MB / 1.333 GB, free: 7.422 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.AC.OnePhase.Sources.Examples.FixedVoltageSource.pipe 2>&1) [Timeout 800] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.012195782735944]