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.01104/0.01104, allocations: 99.64 kB / 15.73 MB, free: 6.016 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.002177/0.002177, allocations: 193 kB / 16.67 MB, free: 5.934 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.495/1.495, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.238/2.238, allocations: 390.2 MB / 0.6648 GB, free: 0.6484 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 63.89 kB / 0.9508 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.123/1.124, allocations: 140.4 MB / 1.088 GB, free: 5.535 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005105/1.129, allocations: 3.208 MB / 1.091 GB, free: 3.371 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002255/1.132, allocations: 1.369 MB / 1.092 GB, free: 2.422 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001435/1.132, allocations: 8.656 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001074/1.133, allocations: 340.2 kB / 1.093 GB, free: 2.215 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0003797/1.133, allocations: 146 kB / 1.093 GB, free: 2.133 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004122/1.134, allocations: 159.4 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004566/1.134, allocations: 334.8 kB / 1.093 GB, free: 1.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004935/1.135, allocations: 255.6 kB / 1.094 GB, free: 1.785 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000233/1.135, allocations: 140.8 kB / 1.094 GB, free: 1.723 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003182/1.135, allocations: 148 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.776e-05/1.135, allocations: 19.72 kB / 1.094 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003631/1.136, allocations: 163 kB / 1.094 GB, free: 1.609 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001389/1.136, allocations: 83.95 kB / 1.094 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001514/1.136, allocations: 125.5 kB / 1.094 GB, free: 1.5 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006357/1.137, allocations: 357.3 kB / 1.095 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/1.137, allocations: 1.422 kB / 1.095 GB, free: 1.379 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.535e-06/1.137, allocations: 4.844 kB / 1.095 GB, free: 1.375 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.683e-06/1.137, allocations: 0 / 1.095 GB, free: 1.375 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.0008617/1.138, allocations: 0.5453 MB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.241e-05/1.138, allocations: 9.781 kB / 1.095 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000662/1.138, allocations: 81.23 kB / 1.095 GB, free: 0.8789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003498/1.139, allocations: 264.8 kB / 1.095 GB, free: 0.6289 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.733e-05/1.139, allocations: 17.25 kB / 1.095 GB, free: 0.6211 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.528e-05/1.139, allocations: 17.33 kB / 1.095 GB, free: 0.6172 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005893/1.139, allocations: 316.3 kB / 1.096 GB, free: 460 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.263e-05/1.139, allocations: 4 kB / 1.096 GB, free: 456 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.977e-05/1.139, allocations: 14.12 kB / 1.096 GB, free: 444 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.765e-05/1.139, allocations: 17.58 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004327/1.14, allocations: 211 kB / 1.096 GB, free: 372 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001725/1.142, allocations: 1.493 MB / 1.097 GB, free: 15.02 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/1.142, allocations: 213.7 kB / 1.098 GB, free: 14.86 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001049/1.142, allocations: 44.19 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/1.142, allocations: 1.125 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/1.142, allocations: 32.73 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.082e-06/1.142, allocations: 0.9375 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0006202/1.143, allocations: 261.1 kB / 1.098 GB, free: 14.62 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/1.143, allocations: 53.11 kB / 1.098 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002505/1.143, allocations: 204.4 kB / 1.098 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.938e-05/1.143, allocations: 30.77 kB / 1.098 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001157/1.143, allocations: 180.6 kB / 1.098 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 3.676e-05/1.143, allocations: 38.86 kB / 1.098 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.576e-05/1.143, allocations: 36.27 kB / 1.099 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001181/1.144, allocations: 328.2 kB / 1.099 GB, free: 13.85 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00011/1.144, allocations: 43.53 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001504/1.144, allocations: 116.9 kB / 1.099 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002675/1.144, allocations: 164 kB / 1.099 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.144, allocations: 0 / 1.099 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004104/1.145, allocations: 214.1 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/1.145, allocations: 5.625 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.145, allocations: 7.156 kB / 1.099 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001749/1.145, allocations: 26.39 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001538/1.145, allocations: 37.5 kB / 1.099 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001219/1.146, allocations: 1.422 MB / 1.101 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/1.146, allocations: 24.61 kB / 1.101 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.925e-05/1.146, allocations: 10.5 kB / 1.101 GB, free: 12.04 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.0001483/1.147, allocations: 150.5 kB / 1.101 GB, free: 11.91 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.852e-05/1.147, allocations: 20.95 kB / 1.101 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.828e-05/1.147, allocations: 19.64 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/1.147, allocations: 1.062 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/1.147, allocations: 5.594 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/1.147, allocations: 0.6094 kB / 1.101 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007487/1.147, allocations: 489.7 kB / 1.101 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/1.147, allocations: 1.094 kB / 1.101 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.894e-05/1.148, allocations: 15.78 kB / 1.101 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.634e-05/1.148, allocations: 27.34 kB / 1.102 GB, free: 11.48 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.351e-05/1.148, allocations: 5.219 kB / 1.102 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001179/1.149, allocations: 1.427 MB / 1.103 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.149, allocations: 0 / 1.103 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004032/1.149, allocations: 237.9 kB / 1.103 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/1.149, allocations: 99.97 kB / 1.103 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.27e-05/1.149, allocations: 1.5 kB / 1.103 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001338/1.15, allocations: 6.031 kB / 1.103 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.07e-05/1.15, allocations: 9.781 kB / 1.103 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.666e-06/1.15, allocations: 10.06 kB / 1.103 GB, free: 9.754 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002065/1.15, allocations: 146.8 kB / 1.103 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.15, allocations: 0 / 1.103 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0004369/1.15, allocations: 63.84 kB / 1.103 GB, free: 9.641 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.0001581/1.15, allocations: 100.2 kB / 1.104 GB, free: 9.551 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0006158/1.151, allocations: 230.9 kB / 1.104 GB, free: 9.402 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/1.151, allocations: 4 kB / 1.104 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002691/1.151, allocations: 157 kB / 1.104 GB, free: 9.277 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004447/1.152, allocations: 29.94 kB / 1.104 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001009/1.153, allocations: 406.4 kB / 1.104 GB, free: 9.016 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/1.153, allocations: 0.7574 MB / 1.105 GB, free: 8.309 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001214/1.153, allocations: 27.83 kB / 1.105 GB, free: 8.301 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.23e-05/1.153, allocations: 19.06 kB / 1.105 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of SimCode: time 4.71e-07/1.153, allocations: 0 / 1.105 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of Templates: time 0.007483/1.161, allocations: 1.952 MB / 1.107 GB, free: 8.129 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