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.001527/0.001527, allocations: 105 kB / 16.41 MB, free: 6.465 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.00162/0.00162, allocations: 187 kB / 17.34 MB, free: 5.719 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.35/1.35, allocations: 222.9 MB / 241 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.32/2.32, allocations: 390.3 MB / 0.6655 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001487/0.001487, allocations: 67.89 kB / 0.9515 GB, free: 7.656 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.01/1.012, allocations: 140.4 MB / 1.089 GB, free: 5.5 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005306/1.017, allocations: 3.201 MB / 1.092 GB, free: 3.344 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002958/1.02, allocations: 1.371 MB / 1.093 GB, free: 2.395 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001808/1.02, allocations: 13.56 kB / 1.093 GB, free: 2.387 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001238/1.021, allocations: 331.9 kB / 1.093 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004483/1.022, allocations: 153.8 kB / 1.094 GB, free: 2.102 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004741/1.022, allocations: 147.9 kB / 1.094 GB, free: 2.027 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0006025/1.023, allocations: 333.8 kB / 1.094 GB, free: 1.879 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006852/1.024, allocations: 251.2 kB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002999/1.024, allocations: 144.4 kB / 1.094 GB, free: 1.699 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/1.024, allocations: 157.5 kB / 1.095 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.853e-05/1.024, allocations: 19.62 kB / 1.095 GB, free: 1.629 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004058/1.025, allocations: 162.7 kB / 1.095 GB, free: 1.578 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/1.025, allocations: 88.38 kB / 1.095 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.000189/1.025, allocations: 121 kB / 1.095 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007527/1.026, allocations: 355.1 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/1.026, allocations: 0 / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.116e-06/1.026, allocations: 0.7969 kB / 1.095 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.01e-05/1.026, allocations: 0.625 kB / 1.095 GB, free: 1.352 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.001106/1.027, allocations: 0.542 MB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 6.835e-05/1.027, allocations: 9.25 kB / 1.096 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007503/1.028, allocations: 81.38 kB / 1.096 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003063/1.028, allocations: 261.5 kB / 1.096 GB, free: 0.6133 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.93e-05/1.028, allocations: 16.31 kB / 1.096 GB, free: 0.6055 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/1.028, allocations: 21.08 kB / 1.096 GB, free: 0.5977 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000586/1.029, allocations: 315.5 kB / 1.096 GB, free: 440 kB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/1.029, allocations: 5.469 kB / 1.096 GB, free: 436 kB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.056e-05/1.029, allocations: 10.81 kB / 1.096 GB, free: 428 kB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.392e-05/1.029, allocations: 20.19 kB / 1.096 GB, free: 420 kB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004326/1.029, allocations: 215.3 kB / 1.097 GB, free: 348 kB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001722/1.031, allocations: 1.484 MB / 1.098 GB, free: 15 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004477/1.032, allocations: 211.2 kB / 1.098 GB, free: 14.84 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001043/1.032, allocations: 43.31 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/1.032, allocations: 1.031 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/1.032, allocations: 33.02 kB / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/1.032, allocations: 0 / 1.098 GB, free: 14.79 MB / 0.8731 GB Notification: Performance of matching and sorting (n=8): time 0.0006161/1.032, allocations: 266.3 kB / 1.099 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.688e-05/1.032, allocations: 52.53 kB / 1.099 GB, free: 14.54 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/1.033, allocations: 207.7 kB / 1.099 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.775e-05/1.033, allocations: 26.7 kB / 1.099 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001353/1.033, allocations: 177.4 kB / 1.099 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.906e-05/1.033, allocations: 30.67 kB / 1.099 GB, free: 14.19 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.707e-05/1.033, allocations: 40.47 kB / 1.099 GB, free: 14.16 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.000121/1.033, allocations: 327.4 kB / 1.099 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/1.033, allocations: 43.34 kB / 1.1 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/1.033, allocations: 114.7 kB / 1.1 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002562/1.034, allocations: 167.8 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.148e-06/1.034, allocations: 1.094 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004085/1.034, allocations: 209.2 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.034, allocations: 10.62 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.034, allocations: 2.375 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001705/1.034, allocations: 31.92 kB / 1.1 GB, free: 13.48 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/1.034, allocations: 36.59 kB / 1.1 GB, free: 13.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001144/1.036, allocations: 1.426 MB / 1.101 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000143/1.036, allocations: 18.97 kB / 1.101 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/1.036, allocations: 6.375 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.0001567/1.036, allocations: 155.6 kB / 1.102 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.465e-05/1.036, allocations: 20.12 kB / 1.102 GB, free: 11.89 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.514e-05/1.036, allocations: 20 kB / 1.102 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/1.036, allocations: 5.734 kB / 1.102 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.036, allocations: 1 kB / 1.102 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/1.036, allocations: 0.7031 kB / 1.102 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006738/1.037, allocations: 482 kB / 1.102 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.037, allocations: 5.453 kB / 1.102 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.983e-05/1.037, allocations: 14.81 kB / 1.102 GB, free: 11.49 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.658e-05/1.037, allocations: 32.2 kB / 1.102 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/1.037, allocations: 1.875 kB / 1.102 GB, free: 11.47 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001011/1.038, allocations: 1.422 MB / 1.104 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/1.038, allocations: 0 / 1.104 GB, free: 10.05 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003215/1.038, allocations: 238.2 kB / 1.104 GB, free: 9.871 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.76e-05/1.038, allocations: 99.52 kB / 1.104 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.305e-05/1.038, allocations: 1.766 kB / 1.104 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/1.039, allocations: 5.562 kB / 1.104 GB, free: 9.766 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.321e-05/1.039, allocations: 9.312 kB / 1.104 GB, free: 9.762 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.195e-06/1.039, allocations: 7.141 kB / 1.104 GB, free: 9.758 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001439/1.039, allocations: 145.9 kB / 1.104 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.5e-07/1.039, allocations: 4 kB / 1.104 GB, free: 9.66 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003671/1.039, allocations: 63.47 kB / 1.104 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.0001355/1.039, allocations: 103.7 kB / 1.104 GB, free: 9.547 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0004744/1.04, allocations: 231.1 kB / 1.104 GB, free: 9.398 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.57e-06/1.04, allocations: 4.656 kB / 1.104 GB, free: 9.395 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0002258/1.04, allocations: 160.6 kB / 1.105 GB, free: 9.27 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003799/1.04, allocations: 37.28 kB / 1.105 GB, free: 9.258 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008/1.041, allocations: 430.9 kB / 1.105 GB, free: 8.977 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000356/1.042, allocations: 0.7532 MB / 1.106 GB, free: 8.273 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.912e-05/1.042, allocations: 16.3 kB / 1.106 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/1.042, allocations: 0.5625 kB / 1.106 GB, free: 8.266 MB / 0.8731 GB Notification: Performance of Templates: time 0.007197/1.049, allocations: 3.241 MB / 1.109 GB, free: 8.008 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/jenkins1/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