Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.009449/0.009449, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001789/0.00179, allocations: 202 kB / 16.68 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.557/1.557, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.679/2.679, allocations: 437 MB / 0.7105 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 71.89 kB / 1.019 GB, free: 14.72 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3983/0.3996, allocations: 151.6 MB / 1.167 GB, free: 6.98 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004914/0.4046, allocations: 3.213 MB / 1.17 GB, free: 3.746 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002387/0.407, allocations: 1.363 MB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001583/0.4072, allocations: 11.88 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.001107/0.4083, allocations: 342.2 kB / 1.171 GB, free: 2.031 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0004083/0.4087, allocations: 147.2 kB / 1.172 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004111/0.4091, allocations: 147.6 kB / 1.172 GB, free: 1.742 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003766/0.4095, allocations: 330.9 kB / 1.172 GB, free: 1.418 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004593/0.41, allocations: 259.6 kB / 1.172 GB, free: 1.16 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002034/0.4102, allocations: 143.5 kB / 1.172 GB, free: 1.02 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002973/0.4105, allocations: 151.4 kB / 1.173 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.936e-05/0.4105, allocations: 20 kB / 1.173 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003397/0.4109, allocations: 167.7 kB / 1.173 GB, free: 0.6875 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.153e-05/0.411, allocations: 83.78 kB / 1.173 GB, free: 0.6055 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.4111, allocations: 119.4 kB / 1.173 GB, free: 500 kB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004758/0.4116, allocations: 362.7 kB / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.4116, allocations: 0 / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of FrontEnd: time 3.286e-06/0.4116, allocations: 0 / 1.173 GB, free: 136 kB / 0.92 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.4117, allocations: 0 / 1.173 GB, free: 136 kB / 0.92 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.0009661/0.4126, allocations: 0.5531 MB / 1.174 GB, free: 15.53 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.4127, allocations: 12.03 kB / 1.174 GB, free: 15.52 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005819/0.4133, allocations: 76.69 kB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003539/0.4136, allocations: 254.2 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.432e-05/0.4137, allocations: 20.8 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.265e-05/0.4137, allocations: 16.38 kB / 1.174 GB, free: 15.12 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004932/0.4142, allocations: 316.6 kB / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4142, allocations: 0 / 1.174 GB, free: 14.79 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.049e-05/0.4143, allocations: 12 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.536e-05/0.4143, allocations: 16.42 kB / 1.174 GB, free: 14.76 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003599/0.4147, allocations: 213.6 kB / 1.175 GB, free: 14.55 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00158/0.4163, allocations: 1.49 MB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000431/0.4167, allocations: 211.6 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.79e-05/0.4168, allocations: 48.83 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.4168, allocations: 7.938 kB / 1.176 GB, free: 12.61 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.4169, allocations: 30.56 kB / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.253e-06/0.4169, allocations: 0 / 1.176 GB, free: 12.57 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.000603/0.4175, allocations: 267.4 kB / 1.177 GB, free: 12.28 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.295e-05/0.4176, allocations: 59.41 kB / 1.177 GB, free: 12.21 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002117/0.4178, allocations: 203.7 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.4178, allocations: 29.7 kB / 1.177 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001196/0.4179, allocations: 172 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.829e-05/0.418, allocations: 31.73 kB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.79e-05/0.418, allocations: 45.66 kB / 1.177 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.4182, allocations: 322.8 kB / 1.177 GB, free: 11.38 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.903e-05/0.4183, allocations: 51.97 kB / 1.178 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00013/0.4184, allocations: 107 kB / 1.178 GB, free: 11.2 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.4187, allocations: 172.4 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.081e-05/0.4187, allocations: 4 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003684/0.4191, allocations: 210.1 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.971e-05/0.4191, allocations: 4 kB / 1.178 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/0.4191, allocations: 7.938 kB / 1.178 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002081/0.4193, allocations: 29.12 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001297/0.4195, allocations: 39.91 kB / 1.178 GB, free: 10.7 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/0.4206, allocations: 1.429 MB / 1.179 GB, free: 9.133 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001416/0.4208, allocations: 23.81 kB / 1.18 GB, free: 9.109 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/0.4208, allocations: 8 kB / 1.18 GB, free: 9.102 MB / 0.9356 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.000149/0.4209, allocations: 145.8 kB / 1.18 GB, free: 8.949 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.133e-05/0.421, allocations: 15.91 kB / 1.18 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.421, allocations: 25.58 kB / 1.18 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.152e-06/0.421, allocations: 11.92 kB / 1.18 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.274e-06/0.421, allocations: 0 / 1.18 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.4211, allocations: 0 / 1.18 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006418/0.4217, allocations: 487.1 kB / 1.18 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/0.4217, allocations: 0 / 1.18 GB, free: 8.359 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.278e-05/0.4218, allocations: 15.98 kB / 1.18 GB, free: 8.344 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.208e-05/0.4219, allocations: 28.78 kB / 1.18 GB, free: 8.312 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.206e-05/0.4219, allocations: 4 kB / 1.18 GB, free: 8.309 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009676/0.4229, allocations: 1.422 MB / 1.182 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.4229, allocations: 0 / 1.182 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000289/0.4232, allocations: 244.2 kB / 1.182 GB, free: 6.492 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-05/0.4233, allocations: 101 kB / 1.182 GB, free: 6.375 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.4233, allocations: 8 kB / 1.182 GB, free: 6.367 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001224/0.4234, allocations: 8 kB / 1.182 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.799e-05/0.4235, allocations: 3.984 kB / 1.182 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.983e-06/0.4235, allocations: 4 kB / 1.182 GB, free: 6.352 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001251/0.4236, allocations: 144.2 kB / 1.182 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4236, allocations: 0 / 1.182 GB, free: 6.211 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003461/0.424, allocations: 59.83 kB / 1.182 GB, free: 6.152 MB / 0.9356 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.0001292/0.4241, allocations: 105.5 kB / 1.182 GB, free: 6.039 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004611/0.4246, allocations: 230.6 kB / 1.182 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.4246, allocations: 0 / 1.182 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002072/0.4248, allocations: 163.1 kB / 1.183 GB, free: 5.629 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003827/0.4252, allocations: 36.67 kB / 1.183 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006952/0.4259, allocations: 397.2 kB / 1.183 GB, free: 5.184 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003275/0.4263, allocations: 0.7554 MB / 1.184 GB, free: 4.402 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001003/0.4264, allocations: 41.44 kB / 1.184 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.188e-05/0.4264, allocations: 11.44 kB / 1.184 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/0.4264, allocations: 192 / 1.184 GB, free: 4.348 MB / 0.9356 GB Notification: Performance of Templates: time 0.005201/0.4316, allocations: 1.95 MB / 1.186 GB, free: 2.418 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches