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.006972/0.006972, allocations: 102.9 kB / 15.73 MB, free: 6.035 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.001207/0.001207, allocations: 196.8 kB / 16.67 MB, free: 5.969 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.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.567/2.567, allocations: 390.2 MB / 0.6648 GB, free: 216 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 66.77 kB / 0.9508 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3826/0.3842, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.005057/0.3893, allocations: 3.208 MB / 1.091 GB, free: 14.32 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002312/0.3916, allocations: 1.379 MB / 1.092 GB, free: 12.94 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.3918, allocations: 4 kB / 1.092 GB, free: 12.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.001093/0.3929, allocations: 338.6 kB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004035/0.3933, allocations: 155.2 kB / 1.093 GB, free: 12.45 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004644/0.3938, allocations: 147.6 kB / 1.093 GB, free: 12.3 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004598/0.3943, allocations: 326.6 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004591/0.3948, allocations: 259.6 kB / 1.094 GB, free: 11.73 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001923/0.395, allocations: 139.5 kB / 1.094 GB, free: 11.59 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002901/0.3953, allocations: 139.5 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.3953, allocations: 23.94 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002916/0.3956, allocations: 171.6 kB / 1.094 GB, free: 11.26 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.568e-05/0.3957, allocations: 87.67 kB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.3958, allocations: 123.4 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0004136/0.3963, allocations: 362.9 kB / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.3963, allocations: 0 / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.284e-06/0.3963, allocations: 0 / 1.095 GB, free: 10.7 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.756e-06/0.3963, allocations: 0 / 1.095 GB, free: 10.7 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.0008727/0.3972, allocations: 0.538 MB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.3972, allocations: 8.031 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005662/0.3978, allocations: 84.58 kB / 1.095 GB, free: 10.02 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003157/0.3981, allocations: 263.7 kB / 1.095 GB, free: 9.727 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.811e-05/0.3981, allocations: 12.81 kB / 1.095 GB, free: 9.715 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.07e-05/0.3982, allocations: 20.38 kB / 1.095 GB, free: 9.695 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004775/0.3987, allocations: 316.6 kB / 1.096 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.3987, allocations: 4 kB / 1.096 GB, free: 9.359 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.3987, allocations: 4 kB / 1.096 GB, free: 9.355 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.3988, allocations: 24.42 kB / 1.096 GB, free: 9.332 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000354/0.3991, allocations: 209.6 kB / 1.096 GB, free: 9.129 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001648/0.4008, allocations: 1.494 MB / 1.097 GB, free: 7.469 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004126/0.4012, allocations: 199.7 kB / 1.098 GB, free: 7.246 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.055e-05/0.4013, allocations: 44.83 kB / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.742e-05/0.4013, allocations: 0 / 1.098 GB, free: 7.199 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.077e-05/0.4014, allocations: 42.56 kB / 1.098 GB, free: 7.148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.4014, allocations: 3.938 kB / 1.098 GB, free: 7.145 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0005529/0.4019, allocations: 259.3 kB / 1.098 GB, free: 6.863 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.402, allocations: 51.41 kB / 1.098 GB, free: 6.801 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.4022, allocations: 203.7 kB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.306e-05/0.4022, allocations: 33.7 kB / 1.098 GB, free: 6.555 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 9.95e-05/0.4023, allocations: 167.7 kB / 1.098 GB, free: 6.383 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.4023, allocations: 35.53 kB / 1.098 GB, free: 6.348 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.437e-05/0.4024, allocations: 37.7 kB / 1.098 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4025, allocations: 330.8 kB / 1.099 GB, free: 5.973 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.303e-05/0.4026, allocations: 43.97 kB / 1.099 GB, free: 5.93 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.4028, allocations: 112.5 kB / 1.099 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002271/0.403, allocations: 172.4 kB / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.403, allocations: 0 / 1.099 GB, free: 5.59 MB / 0.8575 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003761/0.4034, allocations: 218 kB / 1.099 GB, free: 5.367 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.4034, allocations: 4 kB / 1.099 GB, free: 5.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/0.4034, allocations: 8.062 kB / 1.099 GB, free: 5.355 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/0.4036, allocations: 24.83 kB / 1.099 GB, free: 5.328 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.4038, allocations: 39.86 kB / 1.099 GB, free: 5.289 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001119/0.4049, allocations: 1.426 MB / 1.101 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001267/0.405, allocations: 19.94 kB / 1.101 GB, free: 3.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.4051, allocations: 12 kB / 1.101 GB, free: 3.691 MB / 0.8575 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.0001382/0.4052, allocations: 149.7 kB / 1.101 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.045e-05/0.4053, allocations: 15.81 kB / 1.101 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.836e-05/0.4053, allocations: 21.39 kB / 1.101 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/0.4053, allocations: 0 / 1.101 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.4053, allocations: 0 / 1.101 GB, free: 3.504 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.4053, allocations: 4 kB / 1.101 GB, free: 3.5 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006037/0.4059, allocations: 495.1 kB / 1.101 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.205e-06/0.4059, allocations: 0 / 1.101 GB, free: 2.957 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.263e-05/0.406, allocations: 11.98 kB / 1.101 GB, free: 2.945 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.692e-05/0.4061, allocations: 24.84 kB / 1.101 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.508e-06/0.4061, allocations: 0 / 1.101 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00103/0.4072, allocations: 1.429 MB / 1.103 GB, free: 1.352 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4072, allocations: 4 kB / 1.103 GB, free: 1.348 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000307/0.4075, allocations: 232.1 kB / 1.103 GB, free: 1.102 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.38e-05/0.4076, allocations: 96.91 kB / 1.103 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.046e-05/0.4076, allocations: 7.938 kB / 1.103 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001159/0.4077, allocations: 7.938 kB / 1.103 GB, free: 0.9727 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.209e-05/0.4078, allocations: 12.05 kB / 1.103 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.975e-06/0.4078, allocations: 4 kB / 1.103 GB, free: 0.957 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000137/0.4079, allocations: 149.5 kB / 1.103 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4079, allocations: 0 / 1.103 GB, free: 0.8125 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003275/0.4083, allocations: 59.78 kB / 1.103 GB, free: 0.7539 MB / 0.8575 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.0001316/0.4084, allocations: 103.9 kB / 1.104 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004258/0.4088, allocations: 230.5 kB / 1.104 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4088, allocations: 0 / 1.104 GB, free: 412 kB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.409, allocations: 162.7 kB / 1.104 GB, free: 236 kB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003678/0.4094, allocations: 37.36 kB / 1.104 GB, free: 204 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006534/0.4101, allocations: 397 kB / 1.104 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003263/0.4104, allocations: 0.7554 MB / 1.105 GB, free: 15.01 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.845e-05/0.4105, allocations: 21.53 kB / 1.105 GB, free: 14.98 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.606e-05/0.4106, allocations: 23.42 kB / 1.105 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.4106, allocations: 0 / 1.105 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of Templates: time 0.005449/0.416, allocations: 1.99 MB / 1.107 GB, free: 12.99 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