Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.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.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Line,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Line",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.005111/0.005111, allocations: 96.7 kB / 15.73 MB, free: 6.039 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.001123/0.001123, allocations: 194.1 kB / 16.67 MB, free: 5.969 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.34/1.34, allocations: 222.9 MB / 240.4 MB, free: 4.305 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.578/2.578, allocations: 437 MB / 0.7105 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 67.89 kB / 1.018 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.253/0.2542, allocations: 151.6 MB / 1.166 GB, free: 7.27 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Line): time 0.001981/0.2562, allocations: 0.897 MB / 1.167 GB, free: 6.371 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0009868/0.2572, allocations: 0.8819 MB / 1.168 GB, free: 5.477 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.254e-05/0.2573, allocations: 7.938 kB / 1.168 GB, free: 5.469 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.851e-05/0.2573, allocations: 7.875 kB / 1.168 GB, free: 5.461 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.115e-05/0.2574, allocations: 11.86 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001909/0.2576, allocations: 67.91 kB / 1.168 GB, free: 5.383 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.2578, allocations: 135.7 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000152/0.258, allocations: 63.84 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.701e-05/0.258, allocations: 47.84 kB / 1.168 GB, free: 5.137 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.636e-05/0.2581, allocations: 63.69 kB / 1.168 GB, free: 5.074 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.601e-05/0.2582, allocations: 16 kB / 1.168 GB, free: 5.059 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.031e-05/0.2582, allocations: 12 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.2582, allocations: 31.91 kB / 1.168 GB, free: 5.016 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.962e-05/0.2583, allocations: 59.66 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001627/0.2585, allocations: 147.5 kB / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.2585, allocations: 0 / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2585, allocations: 0 / 1.169 GB, free: 4.812 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.2585, allocations: 0 / 1.169 GB, free: 4.812 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006037/0.2591, allocations: 450.9 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.471e-05/0.2591, allocations: 8.031 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.499e-05/0.2592, allocations: 46.73 kB / 1.169 GB, free: 4.258 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.747e-05/0.2592, allocations: 20.78 kB / 1.169 GB, free: 4.238 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002394/0.2595, allocations: 219.6 kB / 1.169 GB, free: 3.988 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.405e-05/0.2595, allocations: 12.38 kB / 1.169 GB, free: 3.977 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.931e-05/0.2595, allocations: 12.38 kB / 1.169 GB, free: 3.965 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003098/0.2598, allocations: 150.2 kB / 1.169 GB, free: 3.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.928e-06/0.2599, allocations: 7.875 kB / 1.169 GB, free: 3.805 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.694e-05/0.2599, allocations: 8 kB / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.2599, allocations: 0 / 1.169 GB, free: 3.797 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002963/0.2602, allocations: 127.9 kB / 1.17 GB, free: 3.672 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006947/0.2609, allocations: 496.2 kB / 1.17 GB, free: 3.137 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001878/0.2611, allocations: 86.47 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001249/0.2612, allocations: 48.95 kB / 1.17 GB, free: 2.992 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.197e-05/0.2612, allocations: 4 kB / 1.17 GB, free: 2.988 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.2613, allocations: 34.56 kB / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of pre-optimization done (n=10): time 1.362e-06/0.2613, allocations: 0 / 1.17 GB, free: 2.945 MB / 0.92 GB Notification: Performance of matching and sorting (n=10): time 0.0004514/0.2617, allocations: 157.5 kB / 1.17 GB, free: 2.785 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.2618, allocations: 55.41 kB / 1.17 GB, free: 2.719 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001674/0.262, allocations: 195.5 kB / 1.171 GB, free: 2.512 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.262, allocations: 25.7 kB / 1.171 GB, free: 2.48 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.412e-05/0.2621, allocations: 116 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.783e-05/0.2621, allocations: 43.62 kB / 1.171 GB, free: 2.32 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.332e-05/0.2621, allocations: 25.72 kB / 1.171 GB, free: 2.289 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.2623, allocations: 322.8 kB / 1.171 GB, free: 1.965 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001241/0.2624, allocations: 43.97 kB / 1.171 GB, free: 1.922 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/0.2625, allocations: 43.97 kB / 1.171 GB, free: 1.879 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002431/0.2628, allocations: 96.75 kB / 1.171 GB, free: 1.781 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.53e-06/0.2628, allocations: 7.938 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002971/0.2631, allocations: 141.6 kB / 1.171 GB, free: 1.629 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.2631, allocations: 7.984 kB / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.2631, allocations: 0 / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2631, allocations: 384 / 1.171 GB, free: 1.621 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/0.2633, allocations: 23.98 kB / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2633, allocations: 0 / 1.172 GB, free: 1.598 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.2634, allocations: 23.89 kB / 1.172 GB, free: 1.574 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.2634, allocations: 11.92 kB / 1.172 GB, free: 1.562 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.281e-05/0.2635, allocations: 125.7 kB / 1.172 GB, free: 1.43 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.809e-05/0.2636, allocations: 15.91 kB / 1.172 GB, free: 1.414 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003331/0.2639, allocations: 135 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.515e-06/0.2639, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2639, allocations: 3.984 kB / 1.172 GB, free: 1.27 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2639, allocations: 4 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005499/0.2645, allocations: 452.9 kB / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.2645, allocations: 0 / 1.172 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001088/0.2646, allocations: 27.92 kB / 1.172 GB, free: 0.7305 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.2646, allocations: 4 kB / 1.172 GB, free: 0.7266 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.437e-06/0.2646, allocations: 8.031 kB / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.953e-06/0.2646, allocations: 0 / 1.172 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.203e-06/0.2647, allocations: 4 kB / 1.172 GB, free: 0.7148 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003165/0.265, allocations: 249.8 kB / 1.173 GB, free: 456 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.378e-05/0.265, allocations: 100.9 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.2651, allocations: 4 kB / 1.173 GB, free: 332 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001445/0.2652, allocations: 11.98 kB / 1.173 GB, free: 320 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.2653, allocations: 15.92 kB / 1.173 GB, free: 304 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.267e-06/0.2653, allocations: 4 kB / 1.173 GB, free: 300 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.0001028/0.2654, allocations: 140.1 kB / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of sort global known variables: time 2.014e-06/0.2654, allocations: 0 / 1.173 GB, free: 160 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002503/0.2656, allocations: 31.94 kB / 1.173 GB, free: 128 kB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006005/0.2662, allocations: 0.7776 MB / 1.174 GB, free: 15.31 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003025/0.2666, allocations: 103.8 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2666, allocations: 0 / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001333/0.2667, allocations: 47.92 kB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003095/0.267, allocations: 21.95 kB / 1.174 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002011/0.2691, allocations: 1.889 MB / 1.176 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.2693, allocations: 0.7045 MB / 1.176 GB, free: 12.43 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.002e-05/0.2693, allocations: 13.08 kB / 1.176 GB, free: 12.42 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.29e-05/0.2694, allocations: 39.42 kB / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of SimCode: time 3.31e-07/0.2694, allocations: 0 / 1.176 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01825/0.2877, allocations: 2.806 MB / 1.179 GB, free: 9.66 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.387/7.674, allocations: 0 / 1.179 GB, free: 9.66 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_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_Controls_OBC_CDL_Reals_Validation_Line.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Line.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Line.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches