Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.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.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",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.00391/0.00391, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.001146/0.001146, allocations: 194.8 kB / 16.67 MB, free: 5.973 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.456/2.456, allocations: 437.1 MB / 0.7106 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 67.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2589/0.2607, allocations: 151.6 MB / 1.166 GB, free: 7.242 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001672/0.2624, allocations: 0.6984 MB / 1.167 GB, free: 6.539 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008149/0.2632, allocations: 0.8081 MB / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.755e-05/0.2632, allocations: 0 / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.934e-05/0.2633, allocations: 0 / 1.168 GB, free: 5.719 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.257e-05/0.2633, allocations: 19.86 kB / 1.168 GB, free: 5.699 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 4.913e-05/0.2634, allocations: 11.98 kB / 1.168 GB, free: 5.688 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.226e-05/0.2635, allocations: 39.91 kB / 1.168 GB, free: 5.648 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 8.915e-05/0.2636, allocations: 15.98 kB / 1.168 GB, free: 5.633 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.418e-05/0.2636, allocations: 19.92 kB / 1.168 GB, free: 5.613 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.105e-05/0.2637, allocations: 23.86 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.45e-05/0.2637, allocations: 4 kB / 1.168 GB, free: 5.586 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.267e-06/0.2637, allocations: 4 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.573e-05/0.2637, allocations: 7.984 kB / 1.168 GB, free: 5.574 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.2638, allocations: 19.88 kB / 1.168 GB, free: 5.555 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 8.417e-05/0.2638, allocations: 44.08 kB / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2638, allocations: 0 / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2639, allocations: 0 / 1.168 GB, free: 5.512 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.2639, allocations: 0 / 1.168 GB, free: 5.512 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004799/0.2643, allocations: 371.2 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.2644, allocations: 12.03 kB / 1.168 GB, free: 5.086 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.389e-05/0.2644, allocations: 30.75 kB / 1.168 GB, free: 5.047 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.089e-05/0.2645, allocations: 12.89 kB / 1.168 GB, free: 5.035 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001161/0.2646, allocations: 160.4 kB / 1.168 GB, free: 4.84 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.2646, allocations: 4.375 kB / 1.168 GB, free: 4.836 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.2646, allocations: 4.375 kB / 1.168 GB, free: 4.832 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00023/0.2648, allocations: 70.2 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.797e-06/0.2649, allocations: 7.875 kB / 1.169 GB, free: 4.75 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.2649, allocations: 4 kB / 1.169 GB, free: 4.746 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.2649, allocations: 4 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002762/0.2652, allocations: 67.86 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003234/0.2655, allocations: 272.8 kB / 1.169 GB, free: 4.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.2657, allocations: 54.55 kB / 1.169 GB, free: 4.297 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001557/0.2659, allocations: 48.91 kB / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 8.315e-06/0.2659, allocations: 0 / 1.169 GB, free: 4.246 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.2659, allocations: 30.56 kB / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.2659, allocations: 0 / 1.169 GB, free: 4.207 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0005136/0.2664, allocations: 129.7 kB / 1.169 GB, free: 4.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/0.2665, allocations: 55.39 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.177e-05/0.2666, allocations: 109.8 kB / 1.169 GB, free: 3.891 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/0.2666, allocations: 25.7 kB / 1.169 GB, free: 3.859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 4.572e-05/0.2666, allocations: 84.14 kB / 1.169 GB, free: 3.773 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.2666, allocations: 11.91 kB / 1.169 GB, free: 3.762 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.242e-05/0.2667, allocations: 17.72 kB / 1.169 GB, free: 3.738 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.2668, allocations: 318.8 kB / 1.17 GB, free: 3.418 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.267, allocations: 27.97 kB / 1.17 GB, free: 3.391 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001405/0.2671, allocations: 39.94 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002715/0.2674, allocations: 72.67 kB / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2674, allocations: 0 / 1.17 GB, free: 3.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003094/0.2677, allocations: 93.62 kB / 1.17 GB, free: 3.18 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.2677, allocations: 10.02 kB / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.096e-06/0.2677, allocations: 0 / 1.17 GB, free: 3.172 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.2678, allocations: 7.938 kB / 1.17 GB, free: 3.164 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.2679, allocations: 15.98 kB / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.2679, allocations: 0 / 1.17 GB, free: 3.148 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.825e-05/0.268, allocations: 15.98 kB / 1.17 GB, free: 3.133 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.63e-06/0.268, allocations: 0 / 1.17 GB, free: 3.133 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 (3): * Single equations (assignments): 3 * 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 7.156e-05/0.268, allocations: 113.8 kB / 1.17 GB, free: 3.012 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.361e-05/0.2681, allocations: 3.953 kB / 1.17 GB, free: 3.008 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.2681, allocations: 15.89 kB / 1.17 GB, free: 2.984 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2681, allocations: 4 kB / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.2681, allocations: 0 / 1.17 GB, free: 2.98 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.679e-06/0.2681, allocations: 3.938 kB / 1.17 GB, free: 2.977 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.2683, allocations: 173.5 kB / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.2683, allocations: 0 / 1.17 GB, free: 2.758 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.168e-05/0.2684, allocations: 19.97 kB / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2684, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.2684, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.41e-07/0.2684, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.2684, allocations: 0 / 1.17 GB, free: 2.738 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003538/0.2688, allocations: 195.4 kB / 1.171 GB, free: 2.531 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.67e-05/0.2688, allocations: 85.06 kB / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.166e-05/0.2689, allocations: 0 / 1.171 GB, free: 2.43 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001057/0.269, allocations: 15.97 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.987e-05/0.269, allocations: 8 kB / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.269, allocations: 0 / 1.171 GB, free: 2.406 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.2691, allocations: 91.27 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.743e-06/0.2691, allocations: 0 / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002034/0.2693, allocations: 11.88 kB / 1.171 GB, free: 2.305 MB / 0.92 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 (3): * Single equations (assignments): 3 * 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.0006653/0.2699, allocations: 0.7319 MB / 1.171 GB, free: 1.547 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0003173/0.2703, allocations: 67.92 kB / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.2703, allocations: 0 / 1.172 GB, free: 1.48 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001545/0.2704, allocations: 43.91 kB / 1.172 GB, free: 1.438 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002491/0.2707, allocations: 4.422 kB / 1.172 GB, free: 1.434 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003775/0.2711, allocations: 147.1 kB / 1.172 GB, free: 1.25 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.2714, allocations: 0.6807 MB / 1.172 GB, free: 0.543 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 2.844e-05/0.2714, allocations: 8 kB / 1.172 GB, free: 0.5352 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.193e-05/0.2714, allocations: 15.42 kB / 1.172 GB, free: 0.5195 MB / 0.92 GB Notification: Performance of SimCode: time 2.51e-07/0.2715, allocations: 3.938 kB / 1.172 GB, free: 0.5156 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.774/2.046, allocations: 1.634 MB / 1.174 GB, free: 14.98 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.56/18.61, allocations: 11.64 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches