Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00175/0.00175, allocations: 78.17 kB / 19.76 MB, free: 2.031 MB / 14.72 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.00219/0.00219, allocations: 158 kB / 23.01 MB, free: 4.945 MB / 14.72 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 1.509/1.509, allocations: 177.2 MB / 203.4 MB, free: 8.977 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.884/2.884, allocations: 377.9 MB / 0.6228 GB, free: 12.59 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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_12_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_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 75.89 kB / 0.9819 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.166/1.168, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004497/1.172, allocations: 3.2 MB / 1.157 GB, free: 31.25 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.002287/1.174, allocations: 1.39 MB / 1.158 GB, free: 30.35 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/1.175, allocations: 9.938 kB / 1.158 GB, free: 30.34 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001064/1.176, allocations: 338.2 kB / 1.159 GB, free: 30.15 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0003297/1.176, allocations: 152 kB / 1.159 GB, free: 30.07 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/1.176, allocations: 160.7 kB / 1.159 GB, free: 29.98 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0003741/1.177, allocations: 336 kB / 1.159 GB, free: 29.84 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003943/1.177, allocations: 199 kB / 1.16 GB, free: 29.74 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002542/1.177, allocations: 151.5 kB / 1.16 GB, free: 29.67 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/1.178, allocations: 143.5 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 3.985e-05/1.178, allocations: 20.41 kB / 1.16 GB, free: 29.62 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002581/1.178, allocations: 158.5 kB / 1.16 GB, free: 29.57 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 9.734e-05/1.178, allocations: 91.14 kB / 1.16 GB, free: 29.53 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0001044/1.178, allocations: 99.3 kB / 1.16 GB, free: 29.48 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.000422/1.179, allocations: 367.7 kB / 1.16 GB, free: 29.35 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/1.179, allocations: 4 kB / 1.161 GB, free: 29.35 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.874e-06/1.179, allocations: 0 / 1.161 GB, free: 29.35 MB / 1.076 GB Notification: Performance of Transformations before backend: time 1.559e-05/1.179, allocations: 0 / 1.161 GB, free: 29.35 MB / 1.076 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.0008411/1.179, allocations: 483.7 kB / 1.161 GB, free: 28.96 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.898e-05/1.179, allocations: 8.406 kB / 1.161 GB, free: 28.96 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006476/1.18, allocations: 94.86 kB / 1.161 GB, free: 28.95 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/1.18, allocations: 194.6 kB / 1.161 GB, free: 28.77 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/1.18, allocations: 13.44 kB / 1.161 GB, free: 28.77 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/1.18, allocations: 23.05 kB / 1.161 GB, free: 28.76 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/1.181, allocations: 394.9 kB / 1.162 GB, free: 28.5 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.407e-05/1.181, allocations: 0 / 1.162 GB, free: 28.5 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.859e-05/1.181, allocations: 10.91 kB / 1.162 GB, free: 28.49 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.259e-05/1.181, allocations: 19.38 kB / 1.162 GB, free: 28.49 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003277/1.181, allocations: 225.7 kB / 1.162 GB, free: 28.41 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/1.183, allocations: 1.015 MB / 1.163 GB, free: 27.59 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003694/1.183, allocations: 119.1 kB / 1.163 GB, free: 27.53 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/1.183, allocations: 46.23 kB / 1.163 GB, free: 27.51 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.294e-05/1.183, allocations: 0 / 1.163 GB, free: 27.51 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/1.183, allocations: 33.22 kB / 1.163 GB, free: 27.47 MB / 1.076 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/1.183, allocations: 0 / 1.163 GB, free: 27.47 MB / 1.076 GB Notification: Performance of matching and sorting (n=8): time 0.0005136/1.184, allocations: 183.4 kB / 1.163 GB, free: 27.39 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.37e-05/1.184, allocations: 59.41 kB / 1.163 GB, free: 27.32 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001637/1.184, allocations: 202 kB / 1.164 GB, free: 27.18 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.322e-05/1.184, allocations: 25.7 kB / 1.164 GB, free: 27.15 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 7.87e-05/1.184, allocations: 184 kB / 1.164 GB, free: 26.99 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 1.987e-05/1.184, allocations: 29.94 kB / 1.164 GB, free: 26.97 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.223e-05/1.184, allocations: 34.53 kB / 1.164 GB, free: 26.94 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.309e-05/1.184, allocations: 330.1 kB / 1.164 GB, free: 26.62 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.134e-05/1.184, allocations: 43.34 kB / 1.164 GB, free: 26.61 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/1.184, allocations: 122.1 kB / 1.164 GB, free: 26.5 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/1.184, allocations: 171.7 kB / 1.164 GB, free: 26.37 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.188e-06/1.184, allocations: 4.844 kB / 1.164 GB, free: 26.36 MB / 1.076 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003276/1.185, allocations: 211.4 kB / 1.165 GB, free: 26.26 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/1.185, allocations: 5.781 kB / 1.165 GB, free: 26.26 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/1.185, allocations: 2.938 kB / 1.165 GB, free: 26.26 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001697/1.185, allocations: 28.61 kB / 1.165 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001242/1.185, allocations: 31.58 kB / 1.165 GB, free: 26.25 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007656/1.186, allocations: 1.3 MB / 1.166 GB, free: 24.98 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001305/1.186, allocations: 23.88 kB / 1.166 GB, free: 24.97 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.352e-05/1.186, allocations: 10.09 kB / 1.166 GB, free: 24.97 MB / 1.076 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.000106/1.186, allocations: 147.3 kB / 1.166 GB, free: 24.84 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.787e-05/1.186, allocations: 25.77 kB / 1.166 GB, free: 24.82 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.918e-05/1.186, allocations: 26.75 kB / 1.166 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.303e-06/1.186, allocations: 0 / 1.166 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/1.186, allocations: 0 / 1.166 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/1.186, allocations: 0 / 1.166 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000463/1.187, allocations: 403.7 kB / 1.167 GB, free: 24.5 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/1.187, allocations: 0 / 1.167 GB, free: 24.5 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.58e-05/1.187, allocations: 15.28 kB / 1.167 GB, free: 24.5 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.347e-05/1.187, allocations: 21.02 kB / 1.167 GB, free: 24.48 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.022e-05/1.187, allocations: 4 kB / 1.167 GB, free: 24.48 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006414/1.187, allocations: 1.314 MB / 1.168 GB, free: 23.21 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/1.187, allocations: 0 / 1.168 GB, free: 23.21 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/1.188, allocations: 236 kB / 1.168 GB, free: 23.03 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 4.722e-05/1.188, allocations: 20.84 kB / 1.168 GB, free: 23.02 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.759e-05/1.188, allocations: 5.984 kB / 1.168 GB, free: 23.02 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/1.188, allocations: 7.031 kB / 1.168 GB, free: 23.01 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.566e-05/1.188, allocations: 10.16 kB / 1.168 GB, free: 23.01 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/1.188, allocations: 2.938 kB / 1.168 GB, free: 23.01 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0001002/1.188, allocations: 144.7 kB / 1.168 GB, free: 22.91 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.188, allocations: 96 / 1.168 GB, free: 22.91 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0003273/1.188, allocations: 58.8 kB / 1.168 GB, free: 22.9 MB / 1.076 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 9.948e-05/1.188, allocations: 106.6 kB / 1.168 GB, free: 22.8 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0003855/1.189, allocations: 227.2 kB / 1.169 GB, free: 22.65 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/1.189, allocations: 2.656 kB / 1.169 GB, free: 22.65 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0001619/1.189, allocations: 160.1 kB / 1.169 GB, free: 22.52 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000356/1.189, allocations: 35.58 kB / 1.169 GB, free: 22.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006199/1.19, allocations: 405.9 kB / 1.169 GB, free: 22.26 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001226/1.19, allocations: 143.1 kB / 1.169 GB, free: 22.18 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 8.708e-05/1.19, allocations: 29.22 kB / 1.169 GB, free: 22.17 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.775e-05/1.19, allocations: 16.38 kB / 1.169 GB, free: 22.16 MB / 1.076 GB Notification: Performance of SimCode: time 2.9e-07/1.19, allocations: 0 / 1.169 GB, free: 22.16 MB / 1.076 GB Notification: Performance of Templates: time 0.005494/1.196, allocations: 1.855 MB / 1.171 GB, free: 21.92 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.693471866077743]