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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009746/0.0009746, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008243/0.0008243, allocations: 177.9 kB / 23.21 MB, free: 1.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8781/0.8781, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.751/1.751, allocations: 389 MB / 0.6338 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,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=2500,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 1.001 GB, free: 13.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.135e-05/2.3e-05, allocations: 2.281 kB / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003238/0.003261, allocations: 3.17 MB / 1.004 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001508/0.004769, allocations: 1.383 MB / 1.005 GB, free: 8.469 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001171/0.004886, allocations: 7.938 kB / 1.005 GB, free: 8.461 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0006516/0.005538, allocations: 346.5 kB / 1.006 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0002601/0.005798, allocations: 147.1 kB / 1.006 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.006061, allocations: 162.2 kB / 1.006 GB, free: 7.82 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002765/0.006338, allocations: 346.6 kB / 1.006 GB, free: 7.48 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003229/0.006661, allocations: 208 kB / 1.006 GB, free: 7.273 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002259/0.006887, allocations: 195.5 kB / 1.007 GB, free: 7.082 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.007082, allocations: 135.6 kB / 1.007 GB, free: 6.949 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.541e-05/0.007107, allocations: 20 kB / 1.007 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001774/0.007285, allocations: 155.5 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 7.362e-05/0.007358, allocations: 91.67 kB / 1.007 GB, free: 6.688 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 6.75e-05/0.007426, allocations: 87.81 kB / 1.007 GB, free: 6.602 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0003329/0.007759, allocations: 374.9 kB / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.007762, allocations: 0 / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.403e-06/0.007763, allocations: 0 / 1.007 GB, free: 6.234 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.007768, allocations: 4 kB / 1.007 GB, free: 6.23 MB / 0.9636 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.0006317/0.008399, allocations: 485.4 kB / 1.008 GB, free: 5.727 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.008433, allocations: 12.69 kB / 1.008 GB, free: 5.715 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003675/0.008801, allocations: 92.7 kB / 1.008 GB, free: 5.625 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002452/0.009046, allocations: 210 kB / 1.008 GB, free: 5.391 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.443e-05/0.00906, allocations: 12.88 kB / 1.008 GB, free: 5.379 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.202e-05/0.009082, allocations: 20.38 kB / 1.008 GB, free: 5.359 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000371/0.009453, allocations: 386.8 kB / 1.009 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/0.009464, allocations: 4.188 kB / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.009483, allocations: 4.375 kB / 1.009 GB, free: 4.934 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.847e-05/0.009511, allocations: 28.42 kB / 1.009 GB, free: 4.906 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002331/0.009744, allocations: 209.8 kB / 1.009 GB, free: 4.699 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008641/0.01061, allocations: 1.019 MB / 1.01 GB, free: 3.617 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002641/0.01087, allocations: 122.5 kB / 1.01 GB, free: 3.488 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.985e-05/0.01093, allocations: 44.84 kB / 1.01 GB, free: 3.441 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/0.01094, allocations: 3.938 kB / 1.01 GB, free: 3.438 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.744e-05/0.01096, allocations: 34.56 kB / 1.01 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=8): time 1.352e-06/0.01096, allocations: 0 / 1.01 GB, free: 3.395 MB / 0.9636 GB Notification: Performance of matching and sorting (n=8): time 0.0003457/0.01131, allocations: 190.3 kB / 1.01 GB, free: 3.199 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.01134, allocations: 55.41 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001309/0.01147, allocations: 200.7 kB / 1.011 GB, free: 2.926 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.01148, allocations: 33.69 kB / 1.011 GB, free: 2.887 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 7.928e-05/0.01156, allocations: 176.1 kB / 1.011 GB, free: 2.711 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.582e-05/0.01158, allocations: 31.72 kB / 1.011 GB, free: 2.68 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.445e-05/0.01162, allocations: 41.66 kB / 1.011 GB, free: 2.633 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.871e-05/0.0117, allocations: 322.8 kB / 1.011 GB, free: 2.309 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.279e-05/0.01176, allocations: 47.97 kB / 1.011 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-05/0.01184, allocations: 106.6 kB / 1.011 GB, free: 2.129 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001523/0.012, allocations: 172.3 kB / 1.011 GB, free: 1.93 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.012, allocations: 4 kB / 1.011 GB, free: 1.926 MB / 0.9636 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0002275/0.01223, allocations: 210.2 kB / 1.012 GB, free: 1.711 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.01224, allocations: 4 kB / 1.012 GB, free: 1.707 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.01225, allocations: 4 kB / 1.012 GB, free: 1.703 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001269/0.01237, allocations: 28.84 kB / 1.012 GB, free: 1.672 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.762e-05/0.01245, allocations: 35.91 kB / 1.012 GB, free: 1.637 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007056/0.01316, allocations: 1.308 MB / 1.013 GB, free: 236 kB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.475e-05/0.01323, allocations: 19.88 kB / 1.013 GB, free: 216 kB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.106e-05/0.01324, allocations: 8 kB / 1.013 GB, free: 208 kB / 0.9636 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 9.196e-05/0.01334, allocations: 141.8 kB / 1.013 GB, free: 56 kB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.01336, allocations: 15.91 kB / 1.013 GB, free: 40 kB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.01338, allocations: 25.39 kB / 1.013 GB, free: 8 kB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.01338, allocations: 0 / 1.013 GB, free: 8 kB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.56e-05/0.0134, allocations: 12.08 kB / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.0134, allocations: 0 / 1.013 GB, free: 15.99 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003523/0.01375, allocations: 406.8 kB / 1.014 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.01375, allocations: 0 / 1.014 GB, free: 15.56 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.53e-05/0.01379, allocations: 11.94 kB / 1.014 GB, free: 15.55 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.183e-05/0.01385, allocations: 28.83 kB / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.763e-06/0.01386, allocations: 96 / 1.014 GB, free: 15.52 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005827/0.01444, allocations: 1.299 MB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.01444, allocations: 3.938 kB / 1.015 GB, free: 14.11 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001759/0.01462, allocations: 236.3 kB / 1.015 GB, free: 13.86 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 3.405e-05/0.01465, allocations: 27.83 kB / 1.015 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.08e-05/0.01466, allocations: 3.938 kB / 1.015 GB, free: 13.83 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.511e-05/0.01473, allocations: 7.984 kB / 1.015 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.392e-05/0.01476, allocations: 16.14 kB / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.01477, allocations: 0 / 1.015 GB, free: 13.8 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 7.97e-05/0.01485, allocations: 139.2 kB / 1.015 GB, free: 13.67 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5e-08/0.01485, allocations: 3.938 kB / 1.015 GB, free: 13.66 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002238/0.01507, allocations: 55.89 kB / 1.015 GB, free: 13.61 MB / 0.9792 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 8.66e-05/0.01516, allocations: 95.25 kB / 1.015 GB, free: 13.51 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0002913/0.01545, allocations: 230.7 kB / 1.016 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.624e-06/0.01545, allocations: 0 / 1.016 GB, free: 13.27 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001038/0.01555, allocations: 150.7 kB / 1.016 GB, free: 13.11 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.01581, allocations: 35.92 kB / 1.016 GB, free: 13.07 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004941/0.01631, allocations: 433.3 kB / 1.016 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.357e-05/0.0164, allocations: 144.1 kB / 1.016 GB, free: 12.46 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.01644, allocations: 16.5 kB / 1.016 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of SimCode: time 6.21e-07/0.01644, allocations: 0 / 1.016 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of Templates: time 0.003472/0.01991, allocations: 3.297 MB / 1.02 GB, free: 9.152 MB / 0.9792 GB " [Timeout remaining time 300] 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 800] 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/jenkins/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 [Calling sys.exit(0), Time elapsed: 6.818265780806541]