Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001289/0.001289, allocations: 101.2 kB / 15.99 MB, free: 6.367 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.001239/0.001239, allocations: 195.6 kB / 16.91 MB, free: 6.195 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.353/1.353, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.57/2.57, allocations: 469.8 MB / 0.7427 GB, free: 3.617 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 67.52 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3124/0.3144, allocations: 159.1 MB / 1.064 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.00515/0.3196, allocations: 3.253 MB / 1.067 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.002247/0.3218, allocations: 1.363 MB / 1.069 GB, free: 10.49 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.322, allocations: 4 kB / 1.069 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.001046/0.323, allocations: 318.9 kB / 1.069 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003375/0.3234, allocations: 139.4 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003646/0.3237, allocations: 131.7 kB / 1.069 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0004168/0.3242, allocations: 334.9 kB / 1.07 GB, free: 9.578 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004919/0.3247, allocations: 267.9 kB / 1.07 GB, free: 9.316 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002155/0.3249, allocations: 135.5 kB / 1.07 GB, free: 9.184 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002976/0.3252, allocations: 163.4 kB / 1.07 GB, free: 9.023 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 3.716e-05/0.3252, allocations: 20 kB / 1.07 GB, free: 9.004 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003004/0.3256, allocations: 167.6 kB / 1.07 GB, free: 8.84 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.3257, allocations: 83.78 kB / 1.07 GB, free: 8.758 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001298/0.3258, allocations: 119.4 kB / 1.07 GB, free: 8.641 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003683/0.3262, allocations: 283.3 kB / 1.071 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.3262, allocations: 0 / 1.071 GB, free: 8.363 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3262, allocations: 7.875 kB / 1.071 GB, free: 8.355 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.432e-06/0.3262, allocations: 0 / 1.071 GB, free: 8.355 MB / 0.8419 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.0009089/0.3271, allocations: 0.5341 MB / 1.071 GB, free: 7.773 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.3272, allocations: 12.03 kB / 1.071 GB, free: 7.762 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005809/0.3278, allocations: 84.58 kB / 1.071 GB, free: 7.68 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000337/0.3281, allocations: 242 kB / 1.072 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.115e-05/0.3281, allocations: 20.81 kB / 1.072 GB, free: 7.387 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.3282, allocations: 20.38 kB / 1.072 GB, free: 7.367 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.3287, allocations: 324.6 kB / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3287, allocations: 0 / 1.072 GB, free: 7.023 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.588e-05/0.3288, allocations: 11.94 kB / 1.072 GB, free: 7.012 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.771e-05/0.3288, allocations: 12.44 kB / 1.072 GB, free: 7 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003765/0.3292, allocations: 217.5 kB / 1.072 GB, free: 6.789 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001694/0.3309, allocations: 1.498 MB / 1.074 GB, free: 5.125 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004404/0.3313, allocations: 199.7 kB / 1.074 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001079/0.3315, allocations: 44.84 kB / 1.074 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3315, allocations: 0 / 1.074 GB, free: 4.855 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.903e-05/0.3315, allocations: 30.56 kB / 1.074 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 9.42e-07/0.3315, allocations: 0 / 1.074 GB, free: 4.816 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0005985/0.3321, allocations: 275.3 kB / 1.074 GB, free: 4.52 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.709e-05/0.3322, allocations: 51.41 kB / 1.074 GB, free: 4.457 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002192/0.3324, allocations: 207.6 kB / 1.074 GB, free: 4.246 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.518e-05/0.3324, allocations: 29.7 kB / 1.074 GB, free: 4.211 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001274/0.3326, allocations: 175.7 kB / 1.075 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.3326, allocations: 27.56 kB / 1.075 GB, free: 4.008 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.227e-05/0.3327, allocations: 37.7 kB / 1.075 GB, free: 3.965 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.3328, allocations: 330.8 kB / 1.075 GB, free: 3.633 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.3329, allocations: 47.97 kB / 1.075 GB, free: 3.586 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.3331, allocations: 110 kB / 1.075 GB, free: 3.449 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002411/0.3333, allocations: 164.4 kB / 1.075 GB, free: 3.258 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.3334, allocations: 4 kB / 1.075 GB, free: 3.254 MB / 0.8419 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003648/0.3337, allocations: 214 kB / 1.075 GB, free: 3.035 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3338, allocations: 8.281 kB / 1.075 GB, free: 3.027 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.3338, allocations: 4 kB / 1.075 GB, free: 3.023 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001615/0.3339, allocations: 28.84 kB / 1.076 GB, free: 2.992 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001324/0.3341, allocations: 35.86 kB / 1.076 GB, free: 2.957 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.3353, allocations: 1.43 MB / 1.077 GB, free: 1.387 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.3355, allocations: 15.84 kB / 1.077 GB, free: 1.371 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.3355, allocations: 4 kB / 1.077 GB, free: 1.367 MB / 0.8419 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.000165/0.3357, allocations: 157.8 kB / 1.077 GB, free: 1.203 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.198e-05/0.3357, allocations: 15.81 kB / 1.077 GB, free: 1.188 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.143e-05/0.3358, allocations: 21.41 kB / 1.077 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.3358, allocations: 0 / 1.077 GB, free: 1.172 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.3358, allocations: 3.938 kB / 1.077 GB, free: 1.168 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.3358, allocations: 3.984 kB / 1.077 GB, free: 1.164 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006761/0.3365, allocations: 495.2 kB / 1.078 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3365, allocations: 0 / 1.078 GB, free: 0.6211 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.224e-05/0.3365, allocations: 8 kB / 1.078 GB, free: 0.6133 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.257e-05/0.3366, allocations: 28.83 kB / 1.078 GB, free: 0.582 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.345e-05/0.3367, allocations: 4 kB / 1.078 GB, free: 0.5781 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4767/0.8133, allocations: 1.422 MB / 1.079 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.8134, allocations: 0.75 kB / 1.079 GB, free: 21.27 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003505/0.8137, allocations: 236 kB / 1.079 GB, free: 21.13 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.804e-05/0.8138, allocations: 97.03 kB / 1.079 GB, free: 21.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.8139, allocations: 7.781 kB / 1.079 GB, free: 21.04 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.814, allocations: 6.422 kB / 1.079 GB, free: 21.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.546e-05/0.8141, allocations: 6.188 kB / 1.079 GB, free: 21.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.668e-06/0.8141, allocations: 5.844 kB / 1.079 GB, free: 21.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001446/0.8142, allocations: 148.6 kB / 1.08 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8142, allocations: 3.156 kB / 1.08 GB, free: 20.96 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004223/0.8147, allocations: 58.84 kB / 1.08 GB, free: 20.96 MB / 0.8419 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.0001274/0.8148, allocations: 99.95 kB / 1.08 GB, free: 20.87 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004656/0.8153, allocations: 230.9 kB / 1.08 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8153, allocations: 3.719 kB / 1.08 GB, free: 20.76 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.8155, allocations: 169.3 kB / 1.08 GB, free: 20.65 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003767/0.8159, allocations: 33.33 kB / 1.08 GB, free: 20.65 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007544/0.8166, allocations: 0.5094 MB / 1.081 GB, free: 20.34 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.8169, allocations: 0.7581 MB / 1.081 GB, free: 19.65 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.8169, allocations: 16.58 kB / 1.081 GB, free: 19.64 MB / 0.8419 GB Notification: Performance of SimCode: time 3.21e-07/0.8169, allocations: 0 / 1.081 GB, free: 19.64 MB / 0.8419 GB Notification: Performance of Templates: time 0.006436/0.8234, allocations: 3.237 MB / 1.085 GB, free: 19.48 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.makefile (rm -f Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; mkfifo Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe ; head -c 1048576 < Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe >> ../files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.sim & ./Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Electrical_DC_Sources_Examples_VoltageSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches