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.0007629/0.0007632, allocations: 98.09 kB / 16.02 MB, free: 76 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.0008377/0.0008378, allocations: 181.5 kB / 16.92 MB, free: 6.918 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.373/1.373, allocations: 223.3 MB / 241 MB, free: 5.316 MB / 190.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.801/2.801, allocations: 437.8 MB / 0.7128 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004537/0.0004539, allocations: 8 kB / 0.8735 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.809, allocations: 153.8 MB / 1.024 GB, free: 15.86 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003961/0.813, allocations: 2.894 MB / 1.027 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002451/0.8155, allocations: 1.36 MB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002185/0.8158, allocations: 4 kB / 1.028 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002392/0.816, allocations: 43.64 kB / 1.028 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0005412/0.8166, allocations: 143.4 kB / 1.028 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004766/0.8171, allocations: 139.7 kB / 1.028 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0005651/0.8177, allocations: 462.7 kB / 1.029 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003821/0.818, allocations: 232.9 kB / 1.029 GB, free: 10.56 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002473/0.8183, allocations: 107.5 kB / 1.029 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.8187, allocations: 147.4 kB / 1.029 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.8187, allocations: 8 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.8191, allocations: 211.5 kB / 1.029 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.966e-05/0.8192, allocations: 71.8 kB / 1.029 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001341/0.8194, allocations: 137.1 kB / 1.029 GB, free: 9.887 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0003214/0.8197, allocations: 269.2 kB / 1.03 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.8197, allocations: 4 kB / 1.03 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8197, allocations: 0 / 1.03 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.8197, allocations: 0 / 1.03 GB, free: 9.621 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.0008369/0.8206, allocations: 0.4952 MB / 1.03 GB, free: 9.074 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.8206, allocations: 12.03 kB / 1.03 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005878/0.8212, allocations: 80.58 kB / 1.03 GB, free: 8.984 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002821/0.8215, allocations: 256.5 kB / 1.031 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.051e-05/0.8215, allocations: 16.8 kB / 1.031 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.439e-05/0.8216, allocations: 20.38 kB / 1.031 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004899/0.8221, allocations: 316.7 kB / 1.031 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.312e-05/0.8221, allocations: 3.938 kB / 1.031 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.989e-05/0.8221, allocations: 12 kB / 1.031 GB, free: 8.312 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.456e-05/0.8222, allocations: 16.42 kB / 1.031 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003656/0.8225, allocations: 221.6 kB / 1.031 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00149/0.824, allocations: 1.494 MB / 1.033 GB, free: 6.418 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004237/0.8245, allocations: 207.6 kB / 1.033 GB, free: 6.188 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.8246, allocations: 48.83 kB / 1.033 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.486e-05/0.8246, allocations: 3.984 kB / 1.033 GB, free: 6.133 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.588e-05/0.8246, allocations: 34.56 kB / 1.033 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 2.876e-06/0.8246, allocations: 0 / 1.033 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0006055/0.8253, allocations: 267.3 kB / 1.033 GB, free: 5.801 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.8253, allocations: 59.33 kB / 1.033 GB, free: 5.73 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001864/0.8255, allocations: 200.9 kB / 1.033 GB, free: 5.527 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.8255, allocations: 29.64 kB / 1.033 GB, free: 5.492 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001059/0.8256, allocations: 179.6 kB / 1.034 GB, free: 5.309 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.426e-05/0.8257, allocations: 27.64 kB / 1.034 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.439e-05/0.8257, allocations: 25.7 kB / 1.034 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001056/0.8258, allocations: 330.8 kB / 1.034 GB, free: 4.918 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001034/0.826, allocations: 47.97 kB / 1.034 GB, free: 4.871 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001368/0.8261, allocations: 108.6 kB / 1.034 GB, free: 4.734 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000245/0.8264, allocations: 172.4 kB / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.8264, allocations: 0 / 1.034 GB, free: 4.535 MB / 0.7794 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000389/0.8268, allocations: 214 kB / 1.034 GB, free: 4.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/0.8268, allocations: 8 kB / 1.034 GB, free: 4.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.795e-06/0.8268, allocations: 4 kB / 1.034 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001631/0.827, allocations: 24.84 kB / 1.034 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001332/0.8271, allocations: 32.2 kB / 1.035 GB, free: 4.246 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001023/0.8281, allocations: 1.342 MB / 1.036 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001447/0.8283, allocations: 20 kB / 1.036 GB, free: 2.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.546e-05/0.8283, allocations: 8 kB / 1.036 GB, free: 2.742 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.0001424/0.8285, allocations: 153 kB / 1.036 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.247e-05/0.8285, allocations: 23.73 kB / 1.036 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.518e-05/0.8286, allocations: 17.41 kB / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.8286, allocations: 0 / 1.036 GB, free: 2.551 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.8286, allocations: 4.062 kB / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8286, allocations: 0 / 1.036 GB, free: 2.547 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005908/0.8292, allocations: 499.1 kB / 1.037 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.8292, allocations: 0 / 1.037 GB, free: 2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.823e-05/0.8293, allocations: 12.09 kB / 1.037 GB, free: 1.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.253e-05/0.8294, allocations: 24.78 kB / 1.037 GB, free: 1.961 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.246e-05/0.8294, allocations: 8 kB / 1.037 GB, free: 1.953 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009077/0.8303, allocations: 1.323 MB / 1.038 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8303, allocations: 0 / 1.038 GB, free: 0.5 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003054/0.8306, allocations: 244.1 kB / 1.038 GB, free: 248 kB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.453e-05/0.8307, allocations: 96.84 kB / 1.038 GB, free: 132 kB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.8307, allocations: 8 kB / 1.038 GB, free: 124 kB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001275/0.8309, allocations: 12 kB / 1.038 GB, free: 112 kB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.766e-05/0.8309, allocations: 11.97 kB / 1.038 GB, free: 100 kB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.831, allocations: 0 / 1.038 GB, free: 100 kB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001479/0.8311, allocations: 148.5 kB / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8311, allocations: 0 / 1.038 GB, free: 15.95 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0003515/0.8315, allocations: 55.84 kB / 1.038 GB, free: 15.9 MB / 0.795 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.0001287/0.8316, allocations: 107.2 kB / 1.039 GB, free: 15.79 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0004662/0.8321, allocations: 234.5 kB / 1.039 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.8321, allocations: 0 / 1.039 GB, free: 15.54 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.8323, allocations: 163.7 kB / 1.039 GB, free: 15.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003942/0.8327, allocations: 40.33 kB / 1.039 GB, free: 15.34 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000758/0.8335, allocations: 0.5359 MB / 1.039 GB, free: 14.77 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003175/0.8338, allocations: 0.7518 MB / 1.04 GB, free: 13.99 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.455e-05/0.8339, allocations: 15.44 kB / 1.04 GB, free: 13.97 MB / 0.795 GB Notification: Performance of SimCode: time 1.723e-06/0.8339, allocations: 0 / 1.04 GB, free: 13.97 MB / 0.795 GB Notification: Performance of Templates: time 0.005952/0.8399, allocations: 3.197 MB / 1.043 GB, free: 10.78 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/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