Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) 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.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource") translateModel(Buildings.Electrical.DC.Sources.Examples.VoltageSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sen.V|sen.I",fileNamePrefix="Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007613/0.007613, allocations: 102 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.001415/0.001416, allocations: 195 kB / 16.67 MB, free: 5.965 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.442/1.442, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.297/2.297, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 68.14 kB / 0.9508 GB, free: 7.676 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.094/1.095, allocations: 140.4 MB / 1.088 GB, free: 5.527 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005447/1.1, allocations: 3.206 MB / 1.091 GB, free: 3.363 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002511/1.103, allocations: 1.375 MB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001617/1.103, allocations: 5.344 kB / 1.092 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001138/1.104, allocations: 344.7 kB / 1.093 GB, free: 2.203 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003994/1.105, allocations: 148.4 kB / 1.093 GB, free: 2.117 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/1.105, allocations: 149.4 kB / 1.093 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005092/1.106, allocations: 333.5 kB / 1.093 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005676/1.106, allocations: 250.7 kB / 1.094 GB, free: 1.781 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002621/1.106, allocations: 140.9 kB / 1.094 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003805/1.107, allocations: 152.4 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.055e-05/1.107, allocations: 20.22 kB / 1.094 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004201/1.107, allocations: 166.6 kB / 1.094 GB, free: 1.598 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001498/1.107, allocations: 80.02 kB / 1.094 GB, free: 1.566 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001932/1.108, allocations: 129.9 kB / 1.094 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006296/1.108, allocations: 357.6 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.108, allocations: 1.609 kB / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/1.108, allocations: 0 / 1.095 GB, free: 1.367 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/1.108, allocations: 0.7812 kB / 1.095 GB, free: 1.367 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.00101/1.109, allocations: 0.5377 MB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.081e-05/1.109, allocations: 9.875 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006653/1.11, allocations: 80.02 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000326/1.11, allocations: 258.4 kB / 1.095 GB, free: 0.6367 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/1.11, allocations: 21.25 kB / 1.095 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.728e-05/1.11, allocations: 21.48 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005746/1.111, allocations: 315 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/1.111, allocations: 0.9375 kB / 1.096 GB, free: 464 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/1.111, allocations: 10.56 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.384e-05/1.111, allocations: 20.97 kB / 1.096 GB, free: 448 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/1.112, allocations: 214.8 kB / 1.096 GB, free: 376 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00172/1.113, allocations: 1.491 MB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004892/1.114, allocations: 206.8 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001067/1.114, allocations: 44.36 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/1.114, allocations: 1.188 kB / 1.098 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/1.114, allocations: 32.2 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.673e-06/1.114, allocations: 1 kB / 1.098 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0006382/1.115, allocations: 265.8 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/1.115, allocations: 53.75 kB / 1.098 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002482/1.115, allocations: 207.2 kB / 1.098 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.022e-05/1.115, allocations: 26.64 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.00013/1.115, allocations: 176.4 kB / 1.098 GB, free: 14.24 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.487e-05/1.115, allocations: 30.77 kB / 1.098 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.193e-05/1.115, allocations: 37.3 kB / 1.098 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.115, allocations: 335.1 kB / 1.099 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001224/1.116, allocations: 42.92 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001671/1.116, allocations: 109.3 kB / 1.099 GB, free: 13.75 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002672/1.116, allocations: 167.3 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/1.116, allocations: 1.094 kB / 1.099 GB, free: 13.62 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004191/1.116, allocations: 209.7 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.116, allocations: 5.25 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/1.116, allocations: 3.438 kB / 1.099 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000199/1.117, allocations: 30.88 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001512/1.117, allocations: 41.56 kB / 1.099 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00123/1.118, allocations: 1.421 MB / 1.101 GB, free: 12.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/1.118, allocations: 15.11 kB / 1.101 GB, free: 12.07 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/1.118, allocations: 11.55 kB / 1.101 GB, free: 12.07 MB / 0.8731 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.0001532/1.118, allocations: 159.9 kB / 1.101 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.72e-05/1.119, allocations: 15.22 kB / 1.101 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.678e-05/1.119, allocations: 20.33 kB / 1.101 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/1.119, allocations: 1.062 kB / 1.101 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/1.119, allocations: 5.062 kB / 1.101 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/1.119, allocations: 0.5625 kB / 1.101 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007392/1.119, allocations: 491.1 kB / 1.101 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/1.119, allocations: 0.6094 kB / 1.101 GB, free: 11.52 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.123e-05/1.119, allocations: 19.17 kB / 1.101 GB, free: 11.51 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.155e-05/1.12, allocations: 24.44 kB / 1.101 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.546e-05/1.12, allocations: 4.609 kB / 1.101 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001131/1.121, allocations: 1.427 MB / 1.103 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.121, allocations: 0.6562 kB / 1.103 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/1.121, allocations: 237 kB / 1.103 GB, free: 9.891 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.681e-05/1.121, allocations: 100.7 kB / 1.103 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.922e-05/1.121, allocations: 1.125 kB / 1.103 GB, free: 9.785 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001236/1.121, allocations: 9.406 kB / 1.103 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.457e-05/1.121, allocations: 5.266 kB / 1.103 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.036e-05/1.121, allocations: 3.469 kB / 1.103 GB, free: 9.781 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001576/1.122, allocations: 145.9 kB / 1.103 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/1.122, allocations: 0 / 1.103 GB, free: 9.688 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003962/1.122, allocations: 68.19 kB / 1.103 GB, free: 9.664 MB / 0.8731 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.0001386/1.122, allocations: 103.5 kB / 1.104 GB, free: 9.57 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0005142/1.123, allocations: 229.8 kB / 1.104 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.123, allocations: 0.5625 kB / 1.104 GB, free: 9.422 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002287/1.123, allocations: 160.9 kB / 1.104 GB, free: 9.297 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004005/1.123, allocations: 42.17 kB / 1.104 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008174/1.124, allocations: 389.9 kB / 1.104 GB, free: 9.039 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/1.125, allocations: 0.7491 MB / 1.105 GB, free: 8.34 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001127/1.125, allocations: 26.94 kB / 1.105 GB, free: 8.332 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.867e-05/1.125, allocations: 23.27 kB / 1.105 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of SimCode: time 3.81e-07/1.125, allocations: 1 kB / 1.105 GB, free: 8.316 MB / 0.8731 GB Notification: Performance of Templates: time 0.006593/1.131, allocations: 1.951 MB / 1.107 GB, free: 8.164 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches