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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001439/0.001439, allocations: 103.6 kB / 16.37 MB, free: 6.477 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.001615/0.001615, allocations: 195.8 kB / 17.31 MB, free: 5.82 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.431/1.431, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.569/2.569, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001422/0.001422, allocations: 64.28 kB / 0.8707 GB, free: 1.469 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3472/0.3487, allocations: 151.6 MB / 1.019 GB, free: 9.887 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004929/0.3537, allocations: 3.222 MB / 1.022 GB, free: 6.645 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002192/0.3559, allocations: 1.379 MB / 1.023 GB, free: 5.258 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001326/0.356, allocations: 11.94 kB / 1.023 GB, free: 5.246 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.00107/0.3571, allocations: 335.2 kB / 1.024 GB, free: 4.918 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0003453/0.3575, allocations: 143.2 kB / 1.024 GB, free: 4.777 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003677/0.3578, allocations: 144.2 kB / 1.024 GB, free: 4.637 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0003728/0.3582, allocations: 338.8 kB / 1.024 GB, free: 4.305 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004379/0.3587, allocations: 235.7 kB / 1.024 GB, free: 4.07 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001948/0.3589, allocations: 143.5 kB / 1.025 GB, free: 3.93 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002761/0.3592, allocations: 155.4 kB / 1.025 GB, free: 3.777 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 3.233e-05/0.3592, allocations: 20 kB / 1.025 GB, free: 3.758 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.3595, allocations: 167.7 kB / 1.025 GB, free: 3.594 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 9.829e-05/0.3596, allocations: 83.78 kB / 1.025 GB, free: 3.512 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0001346/0.3597, allocations: 127.3 kB / 1.025 GB, free: 3.387 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0003967/0.3601, allocations: 354.9 kB / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.3601, allocations: 0 / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.784e-06/0.3601, allocations: 0 / 1.025 GB, free: 3.039 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.3602, allocations: 0 / 1.025 GB, free: 3.039 MB / 0.795 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.0008708/0.361, allocations: 0.5459 MB / 1.026 GB, free: 2.445 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.3611, allocations: 8.922 kB / 1.026 GB, free: 2.438 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005702/0.3617, allocations: 80.58 kB / 1.026 GB, free: 2.359 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003814/0.3621, allocations: 258.6 kB / 1.026 GB, free: 2.07 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.678e-05/0.3621, allocations: 16.81 kB / 1.026 GB, free: 2.055 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.495e-05/0.3621, allocations: 20.38 kB / 1.026 GB, free: 2.035 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006085/0.3628, allocations: 308.6 kB / 1.027 GB, free: 1.711 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.978e-05/0.3628, allocations: 7.938 kB / 1.027 GB, free: 1.703 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3628, allocations: 11.98 kB / 1.027 GB, free: 1.691 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/0.3629, allocations: 20.42 kB / 1.027 GB, free: 1.672 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003803/0.3633, allocations: 213.6 kB / 1.027 GB, free: 1.465 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.3651, allocations: 1.49 MB / 1.028 GB, free: 15.81 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004746/0.3655, allocations: 203.6 kB / 1.029 GB, free: 15.58 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.7e-05/0.3657, allocations: 48.83 kB / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.3657, allocations: 0 / 1.029 GB, free: 15.53 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.3657, allocations: 34.56 kB / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.3657, allocations: 0 / 1.029 GB, free: 15.49 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0006201/0.3663, allocations: 271.3 kB / 1.029 GB, free: 15.2 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.515e-05/0.3664, allocations: 51.41 kB / 1.029 GB, free: 15.13 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002046/0.3666, allocations: 203.7 kB / 1.029 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3667, allocations: 33.7 kB / 1.029 GB, free: 14.89 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.000154/0.3668, allocations: 171.6 kB / 1.029 GB, free: 14.71 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.933e-05/0.3669, allocations: 31.55 kB / 1.029 GB, free: 14.68 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.872e-05/0.3669, allocations: 37.7 kB / 1.029 GB, free: 14.64 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.3671, allocations: 326.8 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001085/0.3672, allocations: 51.97 kB / 1.03 GB, free: 14.26 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001274/0.3673, allocations: 106.5 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002279/0.3676, allocations: 172.4 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.3676, allocations: 0 / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003434/0.3679, allocations: 210 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.3679, allocations: 4 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.368, allocations: 4 kB / 1.03 GB, free: 13.7 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001733/0.3681, allocations: 29.12 kB / 1.03 GB, free: 13.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001318/0.3683, allocations: 39.84 kB / 1.03 GB, free: 13.63 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001078/0.3694, allocations: 1.429 MB / 1.032 GB, free: 12.06 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.3695, allocations: 23.86 kB / 1.032 GB, free: 12.04 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.505e-05/0.3695, allocations: 8 kB / 1.032 GB, free: 12.03 MB / 0.8106 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.0001467/0.3697, allocations: 145.9 kB / 1.032 GB, free: 11.88 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.114e-05/0.3697, allocations: 19.81 kB / 1.032 GB, free: 11.86 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.3698, allocations: 21.39 kB / 1.032 GB, free: 11.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.3698, allocations: 11.86 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.3698, allocations: 0 / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3698, allocations: 0 / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005855/0.3704, allocations: 483.6 kB / 1.032 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3704, allocations: 96 / 1.032 GB, free: 11.3 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.243e-05/0.3705, allocations: 19.86 kB / 1.032 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.525e-05/0.3706, allocations: 28.84 kB / 1.032 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.3706, allocations: 0 / 1.032 GB, free: 11.25 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009149/0.3715, allocations: 1.429 MB / 1.034 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3715, allocations: 0 / 1.034 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002751/0.3718, allocations: 240.3 kB / 1.034 GB, free: 9.43 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.084e-05/0.3719, allocations: 104.9 kB / 1.034 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.867e-05/0.3719, allocations: 0 / 1.034 GB, free: 9.309 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001207/0.372, allocations: 8 kB / 1.034 GB, free: 9.301 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.075e-05/0.3721, allocations: 7.984 kB / 1.034 GB, free: 9.293 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.3721, allocations: 8 kB / 1.034 GB, free: 9.285 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001185/0.3722, allocations: 148.2 kB / 1.034 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3722, allocations: 0 / 1.034 GB, free: 9.141 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003239/0.3726, allocations: 59.78 kB / 1.034 GB, free: 9.082 MB / 0.8106 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.0001167/0.3727, allocations: 105.5 kB / 1.034 GB, free: 8.973 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004326/0.3731, allocations: 226.5 kB / 1.035 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.3731, allocations: 0 / 1.035 GB, free: 8.738 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001908/0.3733, allocations: 163.2 kB / 1.035 GB, free: 8.566 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.3737, allocations: 36.34 kB / 1.035 GB, free: 8.535 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006305/0.3743, allocations: 391.6 kB / 1.035 GB, free: 8.125 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003087/0.3747, allocations: 0.7554 MB / 1.036 GB, free: 7.344 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.3748, allocations: 33.52 kB / 1.036 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.623e-05/0.3748, allocations: 11.44 kB / 1.036 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of SimCode: time 3.01e-07/0.3748, allocations: 0 / 1.036 GB, free: 7.293 MB / 0.8106 GB Notification: Performance of Templates: time 0.004697/0.3795, allocations: 1.92 MB / 1.038 GB, free: 5.391 MB / 0.8106 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 -s cvode -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/jenkins1/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