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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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: "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Sources.Examples.VoltageSource,fileNamePrefix="Buildings_10_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.006823/0.006823, allocations: 96.56 kB / 15.73 MB, free: 5.996 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.001512/0.001512, allocations: 186 kB / 16.67 MB, free: 5.926 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.593/2.593, allocations: 437 MB / 0.7105 GB, free: 5.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 64.05 kB / 1.018 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2433/0.2447, allocations: 151.6 MB / 1.166 GB, free: 7.352 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Sources.Examples.VoltageSource): time 0.004385/0.2491, allocations: 3.214 MB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.002026/0.2512, allocations: 1.375 MB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001384/0.2513, allocations: 4 kB / 1.171 GB, free: 2.73 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0009591/0.2523, allocations: 342 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003552/0.2527, allocations: 151.2 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003681/0.253, allocations: 151.6 kB / 1.171 GB, free: 2.102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003747/0.2534, allocations: 330.9 kB / 1.172 GB, free: 1.777 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004065/0.2538, allocations: 251.9 kB / 1.172 GB, free: 1.527 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001984/0.2541, allocations: 135.5 kB / 1.172 GB, free: 1.395 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002639/0.2543, allocations: 155.4 kB / 1.172 GB, free: 1.242 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.556e-05/0.2544, allocations: 23.94 kB / 1.172 GB, free: 1.219 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002781/0.2547, allocations: 171.6 kB / 1.172 GB, free: 1.051 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.02e-05/0.2548, allocations: 79.8 kB / 1.172 GB, free: 0.9727 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0001214/0.2549, allocations: 127.4 kB / 1.172 GB, free: 0.8477 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0004243/0.2553, allocations: 354.7 kB / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.115e-06/0.2553, allocations: 0 / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.344e-06/0.2553, allocations: 0 / 1.173 GB, free: 0.5 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.737e-06/0.2553, allocations: 3.938 kB / 1.173 GB, free: 0.4961 MB / 0.92 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.0008266/0.2562, allocations: 0.5493 MB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.2562, allocations: 12.03 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.593e-05/0.2563, allocations: 58.72 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005762/0.2569, allocations: 84.67 kB / 1.173 GB, free: 15.74 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003137/0.2572, allocations: 248 kB / 1.174 GB, free: 15.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.2572, allocations: 16.8 kB / 1.174 GB, free: 15.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.15e-05/0.2573, allocations: 16.38 kB / 1.174 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004673/0.2577, allocations: 316.4 kB / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.2578, allocations: 0 / 1.174 GB, free: 15.09 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.2578, allocations: 12 kB / 1.174 GB, free: 15.08 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.114e-05/0.2578, allocations: 16.42 kB / 1.174 GB, free: 15.06 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003513/0.2582, allocations: 213.5 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001441/0.2596, allocations: 1.498 MB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004036/0.2601, allocations: 199.7 kB / 1.176 GB, free: 12.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.577e-05/0.2602, allocations: 48.83 kB / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.099e-05/0.2602, allocations: 0 / 1.176 GB, free: 12.92 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.187e-05/0.2602, allocations: 30.56 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 9.32e-07/0.2602, allocations: 0 / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0005667/0.2608, allocations: 275.4 kB / 1.176 GB, free: 12.58 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.149e-05/0.2608, allocations: 55.39 kB / 1.176 GB, free: 12.52 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.2611, allocations: 207.7 kB / 1.177 GB, free: 12.3 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.57e-05/0.2611, allocations: 25.7 kB / 1.177 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.2612, allocations: 176 kB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.552e-05/0.2613, allocations: 31.73 kB / 1.177 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.2613, allocations: 45.66 kB / 1.177 GB, free: 12.01 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.2614, allocations: 326.8 kB / 1.177 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.2616, allocations: 43.97 kB / 1.177 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001254/0.2617, allocations: 107.1 kB / 1.177 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.2619, allocations: 176.4 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.2619, allocations: 4 kB / 1.177 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003666/0.2623, allocations: 206.4 kB / 1.178 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2623, allocations: 15.97 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.2623, allocations: 0 / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/0.2625, allocations: 40.75 kB / 1.178 GB, free: 11.03 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.2626, allocations: 35.92 kB / 1.178 GB, free: 11 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/0.2637, allocations: 1.425 MB / 1.179 GB, free: 9.434 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.2638, allocations: 23.81 kB / 1.179 GB, free: 9.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.465e-05/0.2639, allocations: 8 kB / 1.179 GB, free: 9.402 MB / 0.9356 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.0001242/0.264, allocations: 153.8 kB / 1.179 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.041e-05/0.264, allocations: 15.91 kB / 1.179 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.568e-05/0.2641, allocations: 21.39 kB / 1.179 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.532e-06/0.2641, allocations: 0 / 1.179 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.594e-06/0.2641, allocations: 0 / 1.179 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.2641, allocations: 0 / 1.179 GB, free: 9.203 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005809/0.2647, allocations: 491.1 kB / 1.18 GB, free: 8.664 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2647, allocations: 4 kB / 1.18 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.653e-05/0.2648, allocations: 11.98 kB / 1.18 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.997e-05/0.2649, allocations: 24.84 kB / 1.18 GB, free: 8.621 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.48e-05/0.2649, allocations: 8.062 kB / 1.18 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009713/0.2659, allocations: 1.421 MB / 1.181 GB, free: 7.055 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.2659, allocations: 4.031 kB / 1.181 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003223/0.2662, allocations: 240.3 kB / 1.181 GB, free: 6.797 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.2663, allocations: 104.9 kB / 1.182 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.2663, allocations: 0 / 1.182 GB, free: 6.676 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001274/0.2664, allocations: 8 kB / 1.182 GB, free: 6.668 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.2665, allocations: 7.984 kB / 1.182 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.2665, allocations: 0 / 1.182 GB, free: 6.66 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001176/0.2666, allocations: 148.2 kB / 1.182 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2666, allocations: 4 kB / 1.182 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003271/0.267, allocations: 55.98 kB / 1.182 GB, free: 6.457 MB / 0.9356 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.0005386/0.2675, allocations: 0.7784 MB / 1.183 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004047/0.2679, allocations: 234.6 kB / 1.183 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.2679, allocations: 0 / 1.183 GB, free: 5.406 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.2681, allocations: 158.6 kB / 1.183 GB, free: 5.238 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003615/0.2685, allocations: 44.47 kB / 1.183 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00254/0.2711, allocations: 2.141 MB / 1.185 GB, free: 2.91 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003264/0.2714, allocations: 0.7593 MB / 1.186 GB, free: 2.125 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001067/0.2715, allocations: 29.53 kB / 1.186 GB, free: 2.098 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.247e-05/0.2716, allocations: 59.41 kB / 1.186 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of SimCode: time 2.51e-07/0.2716, allocations: 0 / 1.186 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0267/0.2983, allocations: 4.014 MB / 1.19 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.141/9.439, allocations: 9.375 kB / 1.19 GB, free: 14.16 MB / 0.9512 GB (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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Electrical_DC_Sources_Examples_VoltageSource.fmu > Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Electrical.DC.Sources.Examples.VoltageSource_res.csv","/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