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.001387/0.001387, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001424/0.001424, allocations: 199.3 kB / 16.26 MB, free: 6.629 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.526/1.526, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.896/2.896, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 67.89 kB / 0.8687 GB, free: 5.062 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9225/0.9244, allocations: 151.6 MB / 1.017 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.007099/0.9315, allocations: 3.264 MB / 1.02 GB, free: 15.44 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003132/0.9347, allocations: 1.352 MB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003105/0.9351, allocations: 11.94 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001299/0.9364, allocations: 326.9 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006597/0.9371, allocations: 139.4 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005347/0.9376, allocations: 131.7 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.9382, allocations: 326.9 kB / 1.022 GB, free: 13.16 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006762/0.9389, allocations: 277.7 kB / 1.022 GB, free: 12.89 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000346/0.9393, allocations: 139.5 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004136/0.9397, allocations: 151.5 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.135e-05/0.9397, allocations: 24 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003993/0.9402, allocations: 163.6 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001393/0.9403, allocations: 91.72 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001737/0.9405, allocations: 115.5 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006658/0.9412, allocations: 370.8 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.9412, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.764e-06/0.9412, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.9412, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 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.001357/0.9426, allocations: 0.5341 MB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.9426, allocations: 12.03 kB / 1.024 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007439/0.9434, allocations: 84.58 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004189/0.9438, allocations: 251.8 kB / 1.024 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.9438, allocations: 12.81 kB / 1.024 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.737e-05/0.9439, allocations: 24.38 kB / 1.024 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006204/0.9445, allocations: 320.6 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.9445, allocations: 3.938 kB / 1.025 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.407e-05/0.9446, allocations: 12 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.289e-05/0.9446, allocations: 16.42 kB / 1.025 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004291/0.9451, allocations: 213.6 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.9471, allocations: 1.498 MB / 1.026 GB, free: 8.617 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004803/0.9476, allocations: 203.6 kB / 1.027 GB, free: 8.391 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.9477, allocations: 48.84 kB / 1.027 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.9477, allocations: 3.984 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.9478, allocations: 34.56 kB / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.9478, allocations: 0 / 1.027 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006671/0.9484, allocations: 263.3 kB / 1.027 GB, free: 8.008 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.9485, allocations: 51.41 kB / 1.027 GB, free: 7.945 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.9487, allocations: 200.8 kB / 1.027 GB, free: 7.742 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.9488, allocations: 25.7 kB / 1.027 GB, free: 7.711 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001627/0.949, allocations: 187.6 kB / 1.027 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.402e-05/0.949, allocations: 23.66 kB / 1.027 GB, free: 7.496 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-05/0.9491, allocations: 37.61 kB / 1.027 GB, free: 7.453 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.9493, allocations: 334.7 kB / 1.028 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001058/0.9494, allocations: 43.97 kB / 1.028 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001683/0.9496, allocations: 109.9 kB / 1.028 GB, free: 6.938 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002679/0.9498, allocations: 172.3 kB / 1.028 GB, free: 6.738 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.825e-06/0.9498, allocations: 4 kB / 1.028 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004172/0.9503, allocations: 210.1 kB / 1.028 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.499e-05/0.9503, allocations: 11.98 kB / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.9503, allocations: 0 / 1.028 GB, free: 6.508 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001969/0.9505, allocations: 28.94 kB / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001434/0.9507, allocations: 35.86 kB / 1.028 GB, free: 6.441 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001395/0.9521, allocations: 1.426 MB / 1.03 GB, free: 4.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000167/0.9523, allocations: 27.81 kB / 1.03 GB, free: 4.848 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.9523, allocations: 4 kB / 1.03 GB, free: 4.844 MB / 0.7794 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.0001941/0.9525, allocations: 152 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.467e-05/0.9525, allocations: 15.81 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.221e-05/0.9526, allocations: 25.39 kB / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.9526, allocations: 0 / 1.03 GB, free: 4.652 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.9526, allocations: 4.062 kB / 1.03 GB, free: 4.648 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.9526, allocations: 4 kB / 1.03 GB, free: 4.645 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000792/0.9534, allocations: 491.2 kB / 1.03 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.9534, allocations: 0 / 1.03 GB, free: 4.105 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.976e-05/0.9535, allocations: 8 kB / 1.03 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.9e-05/0.9536, allocations: 28.78 kB / 1.03 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.9536, allocations: 0 / 1.03 GB, free: 4.066 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.955, allocations: 1.429 MB / 1.032 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.955, allocations: 0 / 1.032 GB, free: 2.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003337/0.9553, allocations: 240.1 kB / 1.032 GB, free: 2.246 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001132/0.9554, allocations: 100.9 kB / 1.032 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.383e-05/0.9555, allocations: 0 / 1.032 GB, free: 2.129 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.9556, allocations: 12.05 kB / 1.032 GB, free: 2.117 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.529e-05/0.9557, allocations: 8 kB / 1.032 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.9557, allocations: 0 / 1.032 GB, free: 2.109 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001709/0.9559, allocations: 152.5 kB / 1.032 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.11e-07/0.9559, allocations: 0 / 1.032 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000382/0.9563, allocations: 59.78 kB / 1.032 GB, free: 1.902 MB / 0.7794 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.0001492/0.9564, allocations: 107.1 kB / 1.032 GB, free: 1.789 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005342/0.957, allocations: 242.5 kB / 1.033 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 4.037e-06/0.957, allocations: 0 / 1.033 GB, free: 1.539 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.9572, allocations: 158.7 kB / 1.033 GB, free: 1.371 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.9576, allocations: 36.55 kB / 1.033 GB, free: 1.336 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009294/0.9586, allocations: 485.1 kB / 1.033 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/0.9591, allocations: 0.7593 MB / 1.034 GB, free: 52 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.9592, allocations: 25.53 kB / 1.034 GB, free: 20 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.465e-05/0.9592, allocations: 15.44 kB / 1.034 GB, free: 4 kB / 0.7794 GB Notification: Performance of SimCode: time 2e-07/0.9593, allocations: 0 / 1.034 GB, free: 4 kB / 0.7794 GB Notification: Performance of Templates: time 0.007768/0.967, allocations: 1.909 MB / 1.036 GB, free: 14.12 MB / 0.795 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=400 -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