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.00113/0.00113, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00193/0.00193, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.528/1.528, allocations: 222.9 MB / 240.2 MB, free: 4.363 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.733/2.733, allocations: 437 MB / 0.7103 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001459/0.001459, allocations: 59.91 kB / 0.8692 GB, free: 4.652 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8549/0.8563, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004981/0.8614, allocations: 3.207 MB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002441/0.8639, allocations: 1.379 MB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002041/0.8641, allocations: 7.938 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001393/0.8655, allocations: 342.7 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0004768/0.866, allocations: 147.2 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004757/0.8665, allocations: 147.6 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0004391/0.8669, allocations: 334.9 kB / 1.023 GB, free: 12.92 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005821/0.8675, allocations: 245.7 kB / 1.023 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002341/0.8678, allocations: 143.5 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.8681, allocations: 143.5 kB / 1.023 GB, free: 12.4 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 5.475e-05/0.8682, allocations: 20 kB / 1.023 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003452/0.8685, allocations: 167.6 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001076/0.8687, allocations: 83.73 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.8688, allocations: 119.5 kB / 1.024 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0004778/0.8693, allocations: 354.8 kB / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.8693, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.125e-06/0.8693, allocations: 0 / 1.024 GB, free: 11.67 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.414e-05/0.8693, allocations: 7.938 kB / 1.024 GB, free: 11.66 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.001035/0.8704, allocations: 0.5342 MB / 1.024 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.8704, allocations: 8.031 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000621/0.8711, allocations: 76.58 kB / 1.025 GB, free: 11 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003381/0.8714, allocations: 252.5 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.411e-05/0.8715, allocations: 20.81 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.865e-05/0.8715, allocations: 20.31 kB / 1.025 GB, free: 10.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005314/0.872, allocations: 308.7 kB / 1.025 GB, free: 10.35 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.8721, allocations: 4 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.193e-05/0.8721, allocations: 8 kB / 1.025 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.175e-05/0.8721, allocations: 24.36 kB / 1.025 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004085/0.8726, allocations: 213.6 kB / 1.025 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00191/0.8745, allocations: 1.498 MB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005114/0.875, allocations: 207.7 kB / 1.027 GB, free: 8.207 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001058/0.8751, allocations: 48.78 kB / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.759e-05/0.8752, allocations: 0 / 1.027 GB, free: 8.156 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.47e-05/0.8752, allocations: 42.56 kB / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 8.52e-07/0.8752, allocations: 0 / 1.027 GB, free: 8.105 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006714/0.8759, allocations: 259.4 kB / 1.027 GB, free: 7.824 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.377e-05/0.876, allocations: 55.41 kB / 1.027 GB, free: 7.758 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000239/0.8762, allocations: 196.8 kB / 1.028 GB, free: 7.559 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.8762, allocations: 33.7 kB / 1.028 GB, free: 7.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.8764, allocations: 179.5 kB / 1.028 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.73e-05/0.8764, allocations: 27.59 kB / 1.028 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.993e-05/0.8765, allocations: 45.55 kB / 1.028 GB, free: 7.258 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.8767, allocations: 326.8 kB / 1.028 GB, free: 6.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.8768, allocations: 47.97 kB / 1.028 GB, free: 6.883 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.8769, allocations: 110.3 kB / 1.028 GB, free: 6.746 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002595/0.8772, allocations: 164.4 kB / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.8772, allocations: 0 / 1.028 GB, free: 6.555 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003711/0.8776, allocations: 210 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/0.8776, allocations: 11.98 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/0.8776, allocations: 4 kB / 1.029 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001833/0.8778, allocations: 33.06 kB / 1.029 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.878, allocations: 31.92 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001032/0.879, allocations: 1.422 MB / 1.03 GB, free: 4.695 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001379/0.8791, allocations: 23.75 kB / 1.03 GB, free: 4.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.364e-05/0.8792, allocations: 8 kB / 1.03 GB, free: 4.664 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.0001356/0.8793, allocations: 155.6 kB / 1.03 GB, free: 4.504 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.8794, allocations: 16 kB / 1.03 GB, free: 4.488 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.074e-05/0.8794, allocations: 29.33 kB / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.393e-06/0.8794, allocations: 0 / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.8794, allocations: 0 / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.8794, allocations: 0 / 1.03 GB, free: 4.465 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005937/0.88, allocations: 495.2 kB / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.88, allocations: 0 / 1.031 GB, free: 3.922 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.122e-05/0.8801, allocations: 8 kB / 1.031 GB, free: 3.914 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.065e-05/0.8802, allocations: 28.84 kB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.137e-05/0.8802, allocations: 0 / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009364/0.8812, allocations: 1.433 MB / 1.032 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8812, allocations: 0 / 1.032 GB, free: 2.312 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000288/0.8815, allocations: 240.2 kB / 1.032 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/0.8815, allocations: 100.9 kB / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.8816, allocations: 0 / 1.033 GB, free: 1.941 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001243/0.8817, allocations: 11.98 kB / 1.033 GB, free: 1.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/0.8818, allocations: 4 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.8818, allocations: 4 kB / 1.033 GB, free: 1.922 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001159/0.8819, allocations: 148.5 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.305e-06/0.8819, allocations: 0 / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000344/0.8822, allocations: 67.66 kB / 1.033 GB, free: 1.711 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.0001159/0.8824, allocations: 103.2 kB / 1.033 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0004489/0.8828, allocations: 234.5 kB / 1.033 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.8828, allocations: 0 / 1.033 GB, free: 1.359 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002038/0.883, allocations: 167.2 kB / 1.033 GB, free: 1.184 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003777/0.8834, allocations: 37.11 kB / 1.033 GB, free: 1.148 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007032/0.8841, allocations: 391.7 kB / 1.034 GB, free: 0.7383 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.8845, allocations: 0.7554 MB / 1.034 GB, free: 15.95 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001081/0.8846, allocations: 29.53 kB / 1.034 GB, free: 15.92 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.8847, allocations: 15.62 kB / 1.034 GB, free: 15.9 MB / 0.795 GB Notification: Performance of SimCode: time 7.91e-07/0.8847, allocations: 0 / 1.034 GB, free: 15.9 MB / 0.795 GB Notification: Performance of Templates: time 0.005447/0.8901, allocations: 1.937 MB / 1.036 GB, free: 13.99 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=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