Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 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.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_11_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.001321/0.001321, allocations: 108 kB / 15.61 MB, free: 152 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.001288/0.001288, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.298/1.298, allocations: 222.9 MB / 240.2 MB, free: 4.383 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.618/2.618, allocations: 469.8 MB / 0.7424 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001815/0.001815, allocations: 66.5 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2496/0.2515, allocations: 159.2 MB / 1.064 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001928/0.2534, allocations: 0.7018 MB / 1.065 GB, free: 13.46 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008919/0.2543, allocations: 0.804 MB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.565e-05/0.2544, allocations: 0 / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.191e-05/0.2544, allocations: 3.938 kB / 1.066 GB, free: 12.64 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.679e-05/0.2545, allocations: 7.938 kB / 1.066 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.803e-05/0.2545, allocations: 7.984 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.544e-05/0.2546, allocations: 47.84 kB / 1.066 GB, free: 12.58 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.66e-05/0.2547, allocations: 12 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.526e-05/0.2548, allocations: 19.92 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.957e-05/0.2548, allocations: 19.86 kB / 1.066 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2548, allocations: 4 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.829e-06/0.2549, allocations: 7.938 kB / 1.066 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.2549, allocations: 7.984 kB / 1.066 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.063e-05/0.2549, allocations: 15.94 kB / 1.066 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.142e-05/0.255, allocations: 47.78 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.255, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.052e-06/0.255, allocations: 0 / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.255, allocations: 0 / 1.066 GB, free: 12.45 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004782/0.2555, allocations: 359.7 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.315e-05/0.2556, allocations: 12.03 kB / 1.066 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.428e-05/0.2556, allocations: 34.75 kB / 1.066 GB, free: 11.99 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.21e-05/0.2556, allocations: 8.844 kB / 1.066 GB, free: 11.98 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.2558, allocations: 168.3 kB / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.2558, allocations: 384 / 1.066 GB, free: 11.78 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.638e-06/0.2558, allocations: 4.375 kB / 1.066 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002321/0.256, allocations: 70.22 kB / 1.066 GB, free: 11.7 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.256, allocations: 7.938 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.384e-06/0.256, allocations: 0 / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.025e-06/0.2561, allocations: 4 kB / 1.066 GB, free: 11.69 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002785/0.2563, allocations: 63.86 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003366/0.2567, allocations: 276.8 kB / 1.067 GB, free: 11.3 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001974/0.2569, allocations: 58.53 kB / 1.067 GB, free: 11.24 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001539/0.2571, allocations: 40.91 kB / 1.067 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.2571, allocations: 4 kB / 1.067 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.2571, allocations: 34.5 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.2571, allocations: 0 / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.000529/0.2576, allocations: 125.6 kB / 1.067 GB, free: 11.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.986e-05/0.2577, allocations: 55.41 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.515e-05/0.2578, allocations: 117.8 kB / 1.067 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.2578, allocations: 25.7 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.429e-05/0.2579, allocations: 84.14 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.8e-05/0.2579, allocations: 11.81 kB / 1.067 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.2579, allocations: 17.7 kB / 1.067 GB, free: 10.68 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.2581, allocations: 314.8 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001434/0.2582, allocations: 31.97 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001443/0.2584, allocations: 39.89 kB / 1.068 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002776/0.2586, allocations: 68.72 kB / 1.068 GB, free: 10.22 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2586, allocations: 3.938 kB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003226/0.259, allocations: 97.62 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.259, allocations: 4 kB / 1.068 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.259, allocations: 7.938 kB / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.259, allocations: 0 / 1.068 GB, free: 10.1 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001181/0.2591, allocations: 11.98 kB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.548e-06/0.2592, allocations: 0 / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.892e-05/0.2592, allocations: 15.98 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.695e-06/0.2593, allocations: 3.984 kB / 1.068 GB, free: 10.07 MB / 0.8262 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.932e-05/0.2593, allocations: 121.7 kB / 1.068 GB, free: 9.941 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.649e-05/0.2594, allocations: 3.906 kB / 1.068 GB, free: 9.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.229e-05/0.2594, allocations: 7.906 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2594, allocations: 0 / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2594, allocations: 0 / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.2594, allocations: 0 / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.2596, allocations: 173.6 kB / 1.068 GB, free: 9.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.886e-06/0.2596, allocations: 7.984 kB / 1.068 GB, free: 9.699 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.243e-05/0.2597, allocations: 15.98 kB / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2597, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.2597, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.2597, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2597, allocations: 0 / 1.068 GB, free: 9.684 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003717/0.2601, allocations: 195.8 kB / 1.068 GB, free: 9.477 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.2602, allocations: 92.94 kB / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.195e-05/0.2602, allocations: 48 / 1.068 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.2603, allocations: 15.97 kB / 1.068 GB, free: 9.352 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.533e-05/0.2603, allocations: 11.94 kB / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.2603, allocations: 0 / 1.068 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.26e-05/0.2604, allocations: 91.27 kB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2e-07/0.2604, allocations: 0 / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000205/0.2606, allocations: 8 kB / 1.069 GB, free: 9.242 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 (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.0006816/0.2613, allocations: 0.7241 MB / 1.069 GB, free: 8.492 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0003577/0.2617, allocations: 79.86 kB / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.2617, allocations: 0 / 1.069 GB, free: 8.414 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001493/0.2618, allocations: 31.97 kB / 1.069 GB, free: 8.383 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/0.2621, allocations: 17.02 kB / 1.069 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004534/0.2626, allocations: 165.9 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.2629, allocations: 0.6768 MB / 1.07 GB, free: 7.465 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.863e-05/0.2629, allocations: 4 kB / 1.07 GB, free: 7.461 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.113e-05/0.263, allocations: 19.38 kB / 1.07 GB, free: 7.441 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.263, allocations: 4 kB / 1.07 GB, free: 7.438 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5054/0.7684, allocations: 1.582 MB / 1.072 GB, free: 5.926 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.945/9.714, allocations: 21.22 kB / 1.072 GB, free: 5.914 MB / 0.8262 GB (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches