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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001257/0.001257, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001289/0.00129, allocations: 198.1 kB / 16.14 MB, free: 6.711 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.255/1.255, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.344/2.344, allocations: 437 MB / 0.71 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 0.8687 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5431/0.5445, allocations: 151.6 MB / 1.017 GB, free: 2.789 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002168/0.5467, allocations: 0.763 MB / 1.017 GB, free: 2.027 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001224/0.548, allocations: 0.804 MB / 1.018 GB, free: 1.211 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.603e-05/0.5481, allocations: 3.938 kB / 1.018 GB, free: 1.207 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 5.353e-05/0.5481, allocations: 3.984 kB / 1.018 GB, free: 1.203 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 9.011e-05/0.5483, allocations: 3.938 kB / 1.018 GB, free: 1.199 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 7.001e-05/0.5483, allocations: 8 kB / 1.018 GB, free: 1.191 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 9.814e-05/0.5484, allocations: 47.84 kB / 1.018 GB, free: 1.145 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/0.5486, allocations: 8 kB / 1.018 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 9.129e-05/0.5487, allocations: 27.84 kB / 1.018 GB, free: 1.109 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 6.741e-05/0.5487, allocations: 15.92 kB / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.332e-05/0.5488, allocations: 0 / 1.018 GB, free: 1.094 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.5488, allocations: 4 kB / 1.018 GB, free: 1.09 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.5488, allocations: 7.984 kB / 1.018 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.471e-05/0.5489, allocations: 19.86 kB / 1.018 GB, free: 1.062 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.549, allocations: 39.88 kB / 1.018 GB, free: 1.023 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.549, allocations: 4 kB / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.382e-06/0.549, allocations: 0 / 1.018 GB, free: 1.02 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.549, allocations: 0 / 1.018 GB, free: 1.02 MB / 0.7637 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.0006503/0.5497, allocations: 361.6 kB / 1.019 GB, free: 0.6172 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.5498, allocations: 12.03 kB / 1.019 GB, free: 0.6055 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.077e-05/0.5498, allocations: 34.75 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.5499, allocations: 4.922 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.55, allocations: 172.3 kB / 1.019 GB, free: 360 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.5501, allocations: 4.375 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.414e-05/0.5501, allocations: 4.375 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.5504, allocations: 70.16 kB / 1.019 GB, free: 276 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.5504, allocations: 7.938 kB / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.5504, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.5504, allocations: 0 / 1.019 GB, free: 268 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002796/0.5507, allocations: 67.92 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004969/0.5512, allocations: 268.9 kB / 1.019 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002103/0.5514, allocations: 54.47 kB / 1.019 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001503/0.5516, allocations: 48.92 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.5516, allocations: 0 / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.5516, allocations: 30.56 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 8.92e-07/0.5516, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0005097/0.5521, allocations: 133.5 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.5522, allocations: 51.41 kB / 1.02 GB, free: 15.53 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.832e-05/0.5523, allocations: 113.8 kB / 1.02 GB, free: 15.41 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.5523, allocations: 25.7 kB / 1.02 GB, free: 15.38 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.5524, allocations: 84.08 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.786e-05/0.5524, allocations: 27.67 kB / 1.02 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.279e-05/0.5524, allocations: 9.719 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001068/0.5525, allocations: 322.8 kB / 1.02 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.5527, allocations: 35.89 kB / 1.02 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001227/0.5528, allocations: 27.97 kB / 1.02 GB, free: 14.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002508/0.5531, allocations: 77 kB / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.5531, allocations: 0 / 1.02 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000301/0.5534, allocations: 97.61 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.5534, allocations: 4 kB / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.5534, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.5534, allocations: 0 / 1.021 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.5536, allocations: 23.92 kB / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.5536, allocations: 0 / 1.021 GB, free: 14.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.742e-05/0.5537, allocations: 15.97 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.5537, allocations: 0 / 1.021 GB, free: 14.64 MB / 0.7794 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.874e-05/0.5538, allocations: 118.3 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.5538, allocations: 3.906 kB / 1.021 GB, free: 14.51 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.438e-05/0.5538, allocations: 3.906 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.5538, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.5538, allocations: 4 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.5538, allocations: 0 / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001552/0.554, allocations: 173.6 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.554, allocations: 0 / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.939e-05/0.5541, allocations: 11.98 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5541, allocations: 0 / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.5541, allocations: 4 kB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.5541, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.5541, allocations: 0 / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003411/0.5545, allocations: 203.3 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.084e-05/0.5545, allocations: 81.02 kB / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.378e-05/0.5545, allocations: 0 / 1.021 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001033/0.5547, allocations: 15.98 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.362e-05/0.5547, allocations: 7.984 kB / 1.021 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.5547, allocations: 8 kB / 1.021 GB, free: 13.92 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.984e-05/0.5548, allocations: 79.28 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.162e-06/0.5548, allocations: 4 kB / 1.021 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002137/0.555, allocations: 11.94 kB / 1.021 GB, free: 13.82 MB / 0.7794 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.0006645/0.5557, allocations: 0.728 MB / 1.022 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003178/0.556, allocations: 71.86 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.556, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.00014/0.5561, allocations: 39.95 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002986/0.5564, allocations: 7.938 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004371/0.5569, allocations: 164.8 kB / 1.022 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002554/0.5572, allocations: 0.6809 MB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.5572, allocations: 4 kB / 1.023 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.638e-05/0.5573, allocations: 15.44 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.5573, allocations: 0 / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01081/0.5681, allocations: 1.366 MB / 1.024 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/0.5683, allocations: 200.1 kB / 1.024 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.259, allocations: 7.875 kB / 1.024 GB, free: 10.49 MB / 0.7794 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=50 --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