Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 107.4 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 193.9 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.504/1.504, allocations: 225.6 MB / 249.9 MB, free: 3.266 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.931/2.931, allocations: 489.7 MB / 0.7761 GB, free: 2.449 MB / 0.6075 GB [Timeout remaining time 86] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=502,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 64.08 kB / 1.127 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9363/0.9383, allocations: 172 MB / 1.295 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005464/0.9438, allocations: 3.251 MB / 1.298 GB, free: 3.484 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.00237/0.9461, allocations: 1.386 MB / 1.299 GB, free: 2.527 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000134/0.9463, allocations: 8.844 kB / 1.299 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.001079/0.9474, allocations: 341.8 kB / 1.3 GB, free: 2.324 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0003842/0.9477, allocations: 151.8 kB / 1.3 GB, free: 2.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004089/0.9481, allocations: 149.1 kB / 1.3 GB, free: 2.16 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004371/0.9486, allocations: 335 kB / 1.3 GB, free: 2.012 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004184/0.949, allocations: 200.1 kB / 1.3 GB, free: 1.922 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002143/0.9492, allocations: 136.3 kB / 1.301 GB, free: 1.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003221/0.9495, allocations: 160.9 kB / 1.301 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.097e-05/0.9496, allocations: 20.22 kB / 1.301 GB, free: 1.797 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003443/0.9499, allocations: 170.9 kB / 1.301 GB, free: 1.742 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.000116/0.95, allocations: 92.95 kB / 1.301 GB, free: 1.699 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001523/0.9502, allocations: 120.3 kB / 1.301 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005185/0.9507, allocations: 358 kB / 1.302 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.9507, allocations: 0 / 1.302 GB, free: 1.508 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.343e-06/0.9507, allocations: 4 kB / 1.302 GB, free: 1.504 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.131e-05/0.9507, allocations: 0 / 1.302 GB, free: 1.504 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.0009384/0.9517, allocations: 0.5505 MB / 1.302 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.265e-05/0.9517, allocations: 9.219 kB / 1.302 GB, free: 1.023 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005756/0.9523, allocations: 85.05 kB / 1.302 GB, free: 1.004 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003518/0.9526, allocations: 257.9 kB / 1.302 GB, free: 0.7617 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.9526, allocations: 20.66 kB / 1.302 GB, free: 0.75 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.33e-05/0.9527, allocations: 16.91 kB / 1.302 GB, free: 0.7461 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.9532, allocations: 320.7 kB / 1.303 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.9532, allocations: 0 / 1.303 GB, free: 0.5703 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.093e-05/0.9532, allocations: 10.23 kB / 1.303 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.342e-05/0.9533, allocations: 20.59 kB / 1.303 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003753/0.9537, allocations: 211.8 kB / 1.303 GB, free: 0.4922 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001708/0.9554, allocations: 1.5 MB / 1.304 GB, free: 15.13 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00043/0.9558, allocations: 190.9 kB / 1.305 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.956e-05/0.9559, allocations: 46.14 kB / 1.305 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.097e-05/0.9559, allocations: 1.25 kB / 1.305 GB, free: 14.97 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.232e-05/0.9559, allocations: 36.44 kB / 1.305 GB, free: 14.93 MB / 1.014 GB Notification: Performance of pre-optimization done (n=8): time 1.132e-06/0.9559, allocations: 4 kB / 1.305 GB, free: 14.92 MB / 1.014 GB Notification: Performance of matching and sorting (n=8): time 0.000579/0.9565, allocations: 266.2 kB / 1.305 GB, free: 14.74 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.9566, allocations: 52.53 kB / 1.305 GB, free: 14.68 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002189/0.9568, allocations: 204.4 kB / 1.305 GB, free: 14.54 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.643e-05/0.9568, allocations: 30.45 kB / 1.305 GB, free: 14.51 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001189/0.9569, allocations: 181.1 kB / 1.305 GB, free: 14.35 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 3.591e-05/0.957, allocations: 31.05 kB / 1.305 GB, free: 14.33 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.957, allocations: 40.44 kB / 1.305 GB, free: 14.3 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.9572, allocations: 327.5 kB / 1.306 GB, free: 13.98 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001093/0.9573, allocations: 51.05 kB / 1.306 GB, free: 13.96 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001599/0.9574, allocations: 115 kB / 1.306 GB, free: 13.86 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002557/0.9577, allocations: 163.6 kB / 1.306 GB, free: 13.73 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.9577, allocations: 1.25 kB / 1.306 GB, free: 13.73 MB / 1.014 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003962/0.9581, allocations: 213.1 kB / 1.306 GB, free: 13.62 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.9581, allocations: 6.781 kB / 1.306 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.9581, allocations: 2.594 kB / 1.306 GB, free: 13.62 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/0.9583, allocations: 26.28 kB / 1.306 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.9584, allocations: 36.84 kB / 1.306 GB, free: 13.61 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.9596, allocations: 1.426 MB / 1.308 GB, free: 12.19 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001472/0.9598, allocations: 27.42 kB / 1.308 GB, free: 12.17 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.324e-05/0.9598, allocations: 6.969 kB / 1.308 GB, free: 12.17 MB / 1.014 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001521/0.9599, allocations: 159.8 kB / 1.308 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.496e-05/0.96, allocations: 16.31 kB / 1.308 GB, free: 12.02 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.838e-05/0.96, allocations: 20.55 kB / 1.308 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.96, allocations: 0.5156 kB / 1.308 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.96, allocations: 1.469 kB / 1.308 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.96, allocations: 0.6094 kB / 1.308 GB, free: 12 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006766/0.9607, allocations: 489.7 kB / 1.308 GB, free: 11.62 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9607, allocations: 4.594 kB / 1.308 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.9608, allocations: 11.73 kB / 1.308 GB, free: 11.61 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.315e-05/0.9609, allocations: 23.47 kB / 1.308 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.046e-05/0.9609, allocations: 1.969 kB / 1.308 GB, free: 11.6 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/0.962, allocations: 1.426 MB / 1.31 GB, free: 10.18 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.962, allocations: 5.094 kB / 1.31 GB, free: 10.17 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000319/0.9623, allocations: 240.4 kB / 1.31 GB, free: 9.988 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.9624, allocations: 99.95 kB / 1.31 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.9625, allocations: 1.344 kB / 1.31 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.9626, allocations: 6.312 kB / 1.31 GB, free: 9.883 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.154e-05/0.9626, allocations: 14.03 kB / 1.31 GB, free: 9.875 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.384e-06/0.9626, allocations: 6.219 kB / 1.31 GB, free: 9.871 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.0001486/0.9628, allocations: 146 kB / 1.31 GB, free: 9.777 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.9628, allocations: 0 / 1.31 GB, free: 9.777 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0003458/0.9631, allocations: 59.3 kB / 1.31 GB, free: 9.762 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001148/0.9632, allocations: 97.33 kB / 1.311 GB, free: 9.672 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.9637, allocations: 227.2 kB / 1.311 GB, free: 9.523 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.9637, allocations: 0 / 1.311 GB, free: 9.523 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0002179/0.9639, allocations: 154.6 kB / 1.311 GB, free: 9.402 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003604/0.9643, allocations: 32.7 kB / 1.311 GB, free: 9.395 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007525/0.965, allocations: 442.8 kB / 1.311 GB, free: 9.105 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004178/0.9654, allocations: 0.757 MB / 1.312 GB, free: 8.398 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.673e-05/0.9655, allocations: 20.66 kB / 1.312 GB, free: 8.387 MB / 1.014 GB Notification: Performance of SimCode: time 4.61e-07/0.9655, allocations: 1.219 kB / 1.312 GB, free: 8.387 MB / 1.014 GB Notification: Performance of Templates: time 0.005772/0.9712, allocations: 3.25 MB / 1.315 GB, free: 8.109 MB / 1.014 GB [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] [Timeout remaining time 300] Reference file matches