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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001306/0.001306, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001272/0.001272, allocations: 195 kB / 16.14 MB, free: 6.645 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.233/1.233, allocations: 222.9 MB / 239.8 MB, free: 4.574 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.403/2.403, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 68.91 kB / 0.8985 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.249, allocations: 157.4 MB / 1.052 GB, free: 8.227 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.003973/0.253, allocations: 3.27 MB / 1.055 GB, free: 4.938 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001665/0.2547, allocations: 1.375 MB / 1.057 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.2548, allocations: 4 kB / 1.057 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0008163/0.2556, allocations: 322.8 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.2559, allocations: 135.4 kB / 1.057 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002686/0.2561, allocations: 139.7 kB / 1.057 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0003606/0.2565, allocations: 454.7 kB / 1.058 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.2568, allocations: 171.7 kB / 1.058 GB, free: 2.352 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001372/0.2569, allocations: 119.5 kB / 1.058 GB, free: 2.234 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002167/0.2571, allocations: 147.5 kB / 1.058 GB, free: 2.09 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.975e-05/0.2572, allocations: 12 kB / 1.058 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000282/0.2575, allocations: 215.6 kB / 1.058 GB, free: 1.867 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.426e-05/0.2575, allocations: 79.73 kB / 1.058 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001058/0.2577, allocations: 119.4 kB / 1.059 GB, free: 1.672 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0003378/0.258, allocations: 367 kB / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.258, allocations: 0 / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.71e-07/0.258, allocations: 0 / 1.059 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.592e-06/0.258, allocations: 0 / 1.059 GB, free: 1.312 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.0006797/0.2587, allocations: 0.5341 MB / 1.059 GB, free: 0.7305 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.2587, allocations: 12.03 kB / 1.059 GB, free: 0.7188 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.444e-05/0.2588, allocations: 62.72 kB / 1.06 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005176/0.2593, allocations: 76.58 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002353/0.2596, allocations: 245.8 kB / 1.06 GB, free: 304 kB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.283e-05/0.2596, allocations: 16.81 kB / 1.06 GB, free: 288 kB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.713e-05/0.2596, allocations: 20.38 kB / 1.06 GB, free: 268 kB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000433/0.2601, allocations: 316.5 kB / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.2601, allocations: 0 / 1.06 GB, free: 15.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.408e-05/0.2601, allocations: 15.91 kB / 1.06 GB, free: 15.91 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.776e-05/0.2602, allocations: 12.44 kB / 1.06 GB, free: 15.9 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003485/0.2605, allocations: 221.5 kB / 1.06 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001278/0.2618, allocations: 1.494 MB / 1.062 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.2622, allocations: 203.7 kB / 1.062 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.437e-05/0.2623, allocations: 44.84 kB / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.131e-05/0.2623, allocations: 0 / 1.062 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.924e-05/0.2623, allocations: 38.55 kB / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 2.635e-06/0.2623, allocations: 0 / 1.062 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.000472/0.2628, allocations: 263.3 kB / 1.062 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.398e-05/0.2628, allocations: 51.41 kB / 1.062 GB, free: 13.36 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001581/0.263, allocations: 215.6 kB / 1.063 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.398e-05/0.263, allocations: 25.7 kB / 1.063 GB, free: 13.11 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.057e-05/0.2631, allocations: 179.7 kB / 1.063 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.2631, allocations: 35.48 kB / 1.063 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-05/0.2632, allocations: 33.72 kB / 1.063 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.409e-05/0.2633, allocations: 322.8 kB / 1.063 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.261e-05/0.2634, allocations: 43.97 kB / 1.063 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.2635, allocations: 121.8 kB / 1.063 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001989/0.2637, allocations: 160.4 kB / 1.064 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.2637, allocations: 4 kB / 1.064 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003358/0.264, allocations: 214.1 kB / 1.064 GB, free: 11.93 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2641, allocations: 8 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.2641, allocations: 0 / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001341/0.2642, allocations: 32.78 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001237/0.2643, allocations: 31.92 kB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008314/0.2652, allocations: 1.327 MB / 1.065 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.2653, allocations: 27.77 kB / 1.065 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.2653, allocations: 4.156 kB / 1.065 GB, free: 10.36 MB / 0.8262 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.0001047/0.2655, allocations: 153.8 kB / 1.065 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.769e-05/0.2655, allocations: 19.75 kB / 1.065 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.823e-05/0.2655, allocations: 21.39 kB / 1.065 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.2655, allocations: 3.984 kB / 1.065 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.2655, allocations: 0 / 1.065 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.933e-06/0.2655, allocations: 0 / 1.065 GB, free: 10.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005092/0.2661, allocations: 491.6 kB / 1.066 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2661, allocations: 0 / 1.066 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.207e-05/0.2661, allocations: 11.98 kB / 1.066 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.322e-05/0.2662, allocations: 24.84 kB / 1.066 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.186e-06/0.2662, allocations: 0 / 1.066 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007545/0.267, allocations: 1.323 MB / 1.067 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.267, allocations: 0 / 1.067 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002572/0.2673, allocations: 240.3 kB / 1.067 GB, free: 7.875 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.042e-05/0.2674, allocations: 108.9 kB / 1.067 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.2674, allocations: 3.938 kB / 1.067 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001238/0.2675, allocations: 11.98 kB / 1.067 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.2675, allocations: 4 kB / 1.067 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.002e-05/0.2676, allocations: 7.984 kB / 1.067 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001064/0.2677, allocations: 149.5 kB / 1.068 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.293e-06/0.2677, allocations: 4 kB / 1.068 GB, free: 7.574 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002921/0.268, allocations: 59.78 kB / 1.068 GB, free: 7.516 MB / 0.8262 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.0004634/0.2684, allocations: 0.7638 MB / 1.068 GB, free: 6.719 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003438/0.2688, allocations: 238.5 kB / 1.069 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.023e-06/0.2688, allocations: 0 / 1.069 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.000181/0.269, allocations: 154.7 kB / 1.069 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003177/0.2693, allocations: 40.55 kB / 1.069 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001999/0.2713, allocations: 2.209 MB / 1.071 GB, free: 3.918 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002511/0.2716, allocations: 0.7557 MB / 1.072 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001033/0.2717, allocations: 29.52 kB / 1.072 GB, free: 3.105 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.372e-05/0.2718, allocations: 59.41 kB / 1.072 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of SimCode: time 3.11e-07/0.2718, allocations: 3.938 kB / 1.072 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4534/0.7252, allocations: 3.737 MB / 1.075 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001956/0.7254, allocations: 250 kB / 1.076 GB, free: 15.18 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.693/2.419, allocations: 0 / 1.076 GB, free: 15.18 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > 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