Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001762/0.001761, allocations: 104.3 kB / 16.36 MB, free: 6.289 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.001975/0.001975, allocations: 192 kB / 17.29 MB, free: 5.863 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.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.489/2.489, allocations: 442.6 MB / 0.7165 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001449/0.00145, allocations: 65.94 kB / 0.8773 GB, free: 10.99 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3078/0.3093, allocations: 153 MB / 1.027 GB, free: 2.07 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.006938/0.3163, allocations: 3.227 MB / 1.03 GB, free: 14.83 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.00293/0.3193, allocations: 1.371 MB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003425/0.3196, allocations: 11.94 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.001342/0.321, allocations: 334.6 kB / 1.032 GB, free: 13.11 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0005922/0.3216, allocations: 143.2 kB / 1.032 GB, free: 12.97 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005446/0.3222, allocations: 148.9 kB / 1.032 GB, free: 12.83 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006393/0.3228, allocations: 334.8 kB / 1.032 GB, free: 12.5 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006159/0.3234, allocations: 239.7 kB / 1.032 GB, free: 12.26 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.3238, allocations: 143.5 kB / 1.032 GB, free: 12.12 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000482/0.3243, allocations: 155.4 kB / 1.033 GB, free: 11.96 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 5.125e-05/0.3244, allocations: 24 kB / 1.033 GB, free: 11.94 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004646/0.3248, allocations: 167.6 kB / 1.033 GB, free: 11.78 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001354/0.325, allocations: 83.8 kB / 1.033 GB, free: 11.7 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001883/0.3252, allocations: 119.4 kB / 1.033 GB, free: 11.58 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0006933/0.3259, allocations: 358.8 kB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 8.636e-06/0.3259, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.316e-06/0.3259, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.3259, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 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.001328/0.3273, allocations: 0.5459 MB / 1.034 GB, free: 10.63 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.848e-05/0.3273, allocations: 8.031 kB / 1.034 GB, free: 10.62 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.3281, allocations: 80.58 kB / 1.034 GB, free: 10.55 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004824/0.3286, allocations: 255.8 kB / 1.034 GB, free: 10.26 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.3287, allocations: 16.81 kB / 1.034 GB, free: 10.24 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.883e-05/0.3287, allocations: 20.38 kB / 1.034 GB, free: 10.22 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006067/0.3293, allocations: 308.7 kB / 1.035 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/0.3294, allocations: 7.922 kB / 1.035 GB, free: 9.891 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.33e-05/0.3294, allocations: 12 kB / 1.035 GB, free: 9.879 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.963e-05/0.3294, allocations: 12.44 kB / 1.035 GB, free: 9.867 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004108/0.3299, allocations: 217.6 kB / 1.035 GB, free: 9.648 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.3322, allocations: 1.494 MB / 1.036 GB, free: 7.988 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005996/0.3328, allocations: 199.7 kB / 1.036 GB, free: 7.766 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001124/0.3329, allocations: 48.84 kB / 1.036 GB, free: 7.715 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.705e-05/0.333, allocations: 3.984 kB / 1.036 GB, free: 7.711 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.212e-05/0.333, allocations: 38.56 kB / 1.037 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=8): time 1.924e-06/0.333, allocations: 0 / 1.037 GB, free: 7.664 MB / 0.8106 GB Notification: Performance of matching and sorting (n=8): time 0.0007568/0.3338, allocations: 263.4 kB / 1.037 GB, free: 7.379 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/0.3339, allocations: 59.34 kB / 1.037 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002636/0.3342, allocations: 203.7 kB / 1.037 GB, free: 7.102 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/0.3342, allocations: 33.7 kB / 1.037 GB, free: 7.062 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001524/0.3343, allocations: 171.7 kB / 1.037 GB, free: 6.891 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.3344, allocations: 27.56 kB / 1.037 GB, free: 6.863 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001042/0.3345, allocations: 37.7 kB / 1.037 GB, free: 6.82 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002127/0.3347, allocations: 326.8 kB / 1.038 GB, free: 6.492 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3349, allocations: 51.97 kB / 1.038 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001664/0.335, allocations: 108.5 kB / 1.038 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.3354, allocations: 168.4 kB / 1.038 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3354, allocations: 0 / 1.038 GB, free: 6.109 MB / 0.8106 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004612/0.3359, allocations: 210 kB / 1.038 GB, free: 5.895 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.37e-05/0.3359, allocations: 8 kB / 1.038 GB, free: 5.887 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.3359, allocations: 4 kB / 1.038 GB, free: 5.883 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002693/0.3362, allocations: 29.12 kB / 1.038 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/0.3364, allocations: 31.92 kB / 1.038 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001785/0.3382, allocations: 1.433 MB / 1.04 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001821/0.3384, allocations: 19.88 kB / 1.04 GB, free: 4.227 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.93e-05/0.3384, allocations: 8 kB / 1.04 GB, free: 4.219 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.000202/0.3386, allocations: 153.7 kB / 1.04 GB, free: 4.059 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.39e-05/0.3387, allocations: 19.91 kB / 1.04 GB, free: 4.039 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.733e-05/0.3387, allocations: 17.41 kB / 1.04 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3387, allocations: 0 / 1.04 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.3387, allocations: 0 / 1.04 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.574e-06/0.3388, allocations: 3.984 kB / 1.04 GB, free: 4.023 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007331/0.3395, allocations: 483.2 kB / 1.04 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.3395, allocations: 0 / 1.04 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.893e-05/0.3396, allocations: 8 kB / 1.04 GB, free: 3.484 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.838e-05/0.3397, allocations: 36.86 kB / 1.04 GB, free: 3.445 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.3397, allocations: 3.938 kB / 1.04 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001089/0.3408, allocations: 1.429 MB / 1.042 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.3408, allocations: 0 / 1.042 GB, free: 1.871 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002945/0.3411, allocations: 240.5 kB / 1.042 GB, free: 1.617 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.325e-05/0.3412, allocations: 105 kB / 1.042 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.91e-05/0.3413, allocations: 0 / 1.042 GB, free: 1.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001287/0.3414, allocations: 11.98 kB / 1.042 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.738e-05/0.3415, allocations: 11.97 kB / 1.042 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.037e-06/0.3415, allocations: 4 kB / 1.042 GB, free: 1.469 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001401/0.3416, allocations: 149.5 kB / 1.042 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3416, allocations: 0 / 1.042 GB, free: 1.324 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0003897/0.342, allocations: 59.78 kB / 1.042 GB, free: 1.266 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.0001613/0.3422, allocations: 103.2 kB / 1.042 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0005327/0.3427, allocations: 226.6 kB / 1.043 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.3427, allocations: 0 / 1.043 GB, free: 0.9219 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002493/0.343, allocations: 163.2 kB / 1.043 GB, free: 0.75 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.3434, allocations: 37.84 kB / 1.043 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008663/0.3443, allocations: 391.4 kB / 1.043 GB, free: 316 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.3448, allocations: 0.7632 MB / 1.044 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001116/0.3449, allocations: 25.53 kB / 1.044 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.092e-05/0.3449, allocations: 15.44 kB / 1.044 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of SimCode: time 9.42e-07/0.3449, allocations: 0 / 1.044 GB, free: 15.48 MB / 0.8262 GB Notification: Performance of Templates: time 0.006/0.3509, allocations: 1.927 MB / 1.046 GB, free: 13.58 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches