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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_11_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.001411/0.001411, allocations: 108 kB / 15.6 MB, free: 132 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.001709/0.001709, allocations: 197.7 kB / 16.54 MB, free: 6.672 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.338/1.338, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.527/2.527, allocations: 469.8 MB / 0.7424 GB, free: 7.492 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 73.77 kB / 0.9087 GB, free: 34.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2494/0.2516, allocations: 159.2 MB / 1.064 GB, free: 14.23 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004477/0.2561, allocations: 3.225 MB / 1.067 GB, free: 10.99 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001984/0.2581, allocations: 1.36 MB / 1.069 GB, free: 9.629 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000109/0.2582, allocations: 7.938 kB / 1.069 GB, free: 9.621 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0009193/0.2591, allocations: 343.8 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.2594, allocations: 143.2 kB / 1.069 GB, free: 9.145 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003155/0.2598, allocations: 151.6 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003371/0.2601, allocations: 330.9 kB / 1.069 GB, free: 8.672 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004022/0.2605, allocations: 247.9 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.2607, allocations: 143.5 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.261, allocations: 151.5 kB / 1.07 GB, free: 8.141 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.261, allocations: 16 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002733/0.2613, allocations: 171.6 kB / 1.07 GB, free: 7.957 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.575e-05/0.2614, allocations: 91.72 kB / 1.07 GB, free: 7.867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001199/0.2615, allocations: 111.5 kB / 1.07 GB, free: 7.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000383/0.2619, allocations: 354.9 kB / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.2619, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2619, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.456e-06/0.2619, allocations: 0 / 1.071 GB, free: 7.41 MB / 0.8262 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.0008006/0.2627, allocations: 0.5419 MB / 1.071 GB, free: 6.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.294e-05/0.2628, allocations: 12.03 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.143e-05/0.2629, allocations: 58.73 kB / 1.071 GB, free: 6.742 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005166/0.2634, allocations: 76.58 kB / 1.071 GB, free: 6.668 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002813/0.2637, allocations: 255.7 kB / 1.072 GB, free: 6.379 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2637, allocations: 16.81 kB / 1.072 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.2637, allocations: 24.36 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004561/0.2642, allocations: 308.3 kB / 1.072 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.2642, allocations: 3.938 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.898e-05/0.2642, allocations: 15.98 kB / 1.072 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.019e-05/0.2643, allocations: 16.42 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003538/0.2646, allocations: 217.6 kB / 1.072 GB, free: 5.766 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001477/0.2661, allocations: 1.486 MB / 1.074 GB, free: 4.113 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003979/0.2665, allocations: 203.6 kB / 1.074 GB, free: 3.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.21e-05/0.2666, allocations: 48.83 kB / 1.074 GB, free: 3.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.2666, allocations: 4 kB / 1.074 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.591e-05/0.2667, allocations: 34.55 kB / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2667, allocations: 0 / 1.074 GB, free: 3.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0005166/0.2672, allocations: 259.3 kB / 1.074 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.406e-05/0.2672, allocations: 55.39 kB / 1.074 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.2674, allocations: 211.7 kB / 1.074 GB, free: 3.227 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2675, allocations: 25.7 kB / 1.074 GB, free: 3.195 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001075/0.2676, allocations: 175.7 kB / 1.075 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.2676, allocations: 35.48 kB / 1.075 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.778e-05/0.2677, allocations: 41.64 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.2678, allocations: 322.8 kB / 1.075 GB, free: 2.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.585e-05/0.2679, allocations: 47.97 kB / 1.075 GB, free: 2.566 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2681, allocations: 110.8 kB / 1.075 GB, free: 2.43 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002253/0.2683, allocations: 168.4 kB / 1.075 GB, free: 2.234 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2683, allocations: 4 kB / 1.075 GB, free: 2.23 MB / 0.8262 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003573/0.2687, allocations: 210 kB / 1.076 GB, free: 2.016 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2687, allocations: 8 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.2687, allocations: 0 / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001433/0.2688, allocations: 36.77 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001234/0.269, allocations: 32.33 kB / 1.076 GB, free: 1.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/0.2701, allocations: 1.441 MB / 1.077 GB, free: 364 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001268/0.2702, allocations: 19.84 kB / 1.077 GB, free: 344 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.11e-05/0.2702, allocations: 4 kB / 1.077 GB, free: 340 kB / 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.0001257/0.2703, allocations: 147.1 kB / 1.077 GB, free: 184 kB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.684e-05/0.2704, allocations: 15.81 kB / 1.077 GB, free: 168 kB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.901e-05/0.2704, allocations: 25.39 kB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.2704, allocations: 4.062 kB / 1.077 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.833e-06/0.2704, allocations: 0 / 1.077 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.2704, allocations: 0 / 1.077 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005933/0.271, allocations: 487.1 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2711, allocations: 0 / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.13e-05/0.2711, allocations: 11.98 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.999e-05/0.2712, allocations: 32.78 kB / 1.078 GB, free: 15.56 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.308e-06/0.2712, allocations: 3.938 kB / 1.078 GB, free: 15.55 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009911/0.2722, allocations: 1.418 MB / 1.079 GB, free: 14 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.2722, allocations: 7.969 kB / 1.079 GB, free: 13.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002852/0.2725, allocations: 240 kB / 1.079 GB, free: 13.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 8.429e-05/0.2726, allocations: 105 kB / 1.079 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.047e-05/0.2727, allocations: 8 kB / 1.079 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000116/0.2728, allocations: 4 kB / 1.079 GB, free: 13.6 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.2728, allocations: 11.98 kB / 1.079 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-06/0.2728, allocations: 3.938 kB / 1.079 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001207/0.273, allocations: 145.5 kB / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.834e-06/0.273, allocations: 0 / 1.08 GB, free: 13.45 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002984/0.2733, allocations: 59.78 kB / 1.08 GB, free: 13.39 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.0005635/0.2738, allocations: 0.7687 MB / 1.08 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004032/0.2742, allocations: 243.4 kB / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2743, allocations: 0 / 1.081 GB, free: 12.34 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002082/0.2745, allocations: 158.6 kB / 1.081 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003402/0.2748, allocations: 40.8 kB / 1.081 GB, free: 12.13 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002277/0.2771, allocations: 2.137 MB / 1.083 GB, free: 9.848 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.2775, allocations: 0.7554 MB / 1.084 GB, free: 9.066 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 9.972e-05/0.2776, allocations: 25.53 kB / 1.084 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.348e-05/0.2777, allocations: 59.41 kB / 1.084 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.61e-07/0.2777, allocations: 0 / 1.084 GB, free: 8.98 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.359/2.636, allocations: 3.927 MB / 1.088 GB, free: 5.176 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 16/18.64, allocations: 9.422 kB / 1.088 GB, free: 5.168 MB / 0.8419 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.mat --tempDir=temp_Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > 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