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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001757/0.001757, allocations: 102.7 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002183/0.002183, allocations: 188.6 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.516/1.516, allocations: 225.6 MB / 247.8 MB, free: 3.711 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.785/2.785, allocations: 443.5 MB / 0.7287 GB, free: 14.68 MB / 0.5762 GB " [Timeout remaining time 176] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003225/0.003225, allocations: 64.05 kB / 1.056 GB, free: 2.52 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3704, allocations: 160.7 MB / 1.213 GB, free: 1.484 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002732/0.3731, allocations: 0.712 MB / 1.214 GB, free: 0.7695 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001374/0.3745, allocations: 0.8078 MB / 1.214 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.125e-05/0.3745, allocations: 0 / 1.214 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.261e-05/0.3746, allocations: 0 / 1.214 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001076/0.3747, allocations: 15.86 kB / 1.214 GB, free: 15.93 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.087e-05/0.3747, allocations: 15.97 kB / 1.214 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.3749, allocations: 39.92 kB / 1.215 GB, free: 15.88 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001409/0.375, allocations: 15.98 kB / 1.215 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.948e-05/0.3751, allocations: 15.94 kB / 1.215 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.538e-05/0.3752, allocations: 19.91 kB / 1.215 GB, free: 15.83 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.715e-05/0.3752, allocations: 4 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.179e-05/0.3752, allocations: 4 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.241e-05/0.3752, allocations: 4 kB / 1.215 GB, free: 15.82 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.636e-05/0.3753, allocations: 23.86 kB / 1.215 GB, free: 15.79 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.3754, allocations: 44.08 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.3754, allocations: 3.938 kB / 1.215 GB, free: 15.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.924e-06/0.3754, allocations: 4 kB / 1.215 GB, free: 15.74 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.243e-06/0.3754, allocations: 0 / 1.215 GB, free: 15.74 MB / 0.9669 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.0006968/0.3761, allocations: 363.3 kB / 1.215 GB, free: 15.34 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.3762, allocations: 12.03 kB / 1.215 GB, free: 15.32 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.3762, allocations: 34.75 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.237e-05/0.3763, allocations: 4.891 kB / 1.215 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.3764, allocations: 172.3 kB / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.3765, allocations: 384 / 1.215 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.3765, allocations: 8.375 kB / 1.215 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003053/0.3768, allocations: 70.2 kB / 1.215 GB, free: 14.99 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.325e-05/0.3768, allocations: 3.938 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.094e-05/0.3768, allocations: 0 / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.3768, allocations: 3.938 kB / 1.215 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003111/0.3771, allocations: 71.86 kB / 1.215 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005622/0.3777, allocations: 268.9 kB / 1.216 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.3779, allocations: 54.53 kB / 1.216 GB, free: 14.54 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001692/0.3781, allocations: 44.91 kB / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.3781, allocations: 0 / 1.216 GB, free: 14.49 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.3781, allocations: 38.5 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 3.146e-06/0.3781, allocations: 3.984 kB / 1.216 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0005728/0.3787, allocations: 125.6 kB / 1.216 GB, free: 14.31 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.3787, allocations: 51.41 kB / 1.216 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001332/0.3789, allocations: 109.8 kB / 1.216 GB, free: 14.13 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.3789, allocations: 25.7 kB / 1.216 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.382e-05/0.379, allocations: 88.12 kB / 1.216 GB, free: 14.01 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.379, allocations: 15.84 kB / 1.216 GB, free: 13.99 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.867e-05/0.379, allocations: 13.72 kB / 1.216 GB, free: 13.97 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001674/0.3792, allocations: 318.8 kB / 1.216 GB, free: 13.65 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001457/0.3794, allocations: 31.97 kB / 1.217 GB, free: 13.62 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001278/0.3795, allocations: 31.97 kB / 1.217 GB, free: 13.59 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002778/0.3798, allocations: 80.66 kB / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3798, allocations: 0 / 1.217 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003142/0.3801, allocations: 93.62 kB / 1.217 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.3801, allocations: 8 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.162e-06/0.3801, allocations: 0 / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.147e-05/0.3801, allocations: 3.984 kB / 1.217 GB, free: 13.4 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001317/0.3803, allocations: 15.98 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.3803, allocations: 0 / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.595e-05/0.3803, allocations: 11.98 kB / 1.217 GB, free: 13.37 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.853e-06/0.3803, allocations: 4 kB / 1.217 GB, free: 13.37 MB / 0.9669 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 0.0001005/0.3804, allocations: 113.8 kB / 1.217 GB, free: 13.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.859e-05/0.3805, allocations: 7.953 kB / 1.217 GB, free: 13.24 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.277e-05/0.3805, allocations: 11.83 kB / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.3805, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.3805, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.3805, allocations: 0 / 1.217 GB, free: 13.22 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002074/0.3807, allocations: 177.6 kB / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.604e-06/0.3807, allocations: 0 / 1.217 GB, free: 13 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.743e-05/0.3808, allocations: 19.92 kB / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3808, allocations: 0 / 1.217 GB, free: 12.98 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.427e-06/0.3809, allocations: 3.984 kB / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.3809, allocations: 0 / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3809, allocations: 0 / 1.217 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003863/0.3812, allocations: 203.4 kB / 1.217 GB, free: 12.76 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.028e-05/0.3813, allocations: 81.05 kB / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.545e-05/0.3813, allocations: 0 / 1.217 GB, free: 12.66 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001089/0.3814, allocations: 15.97 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.871e-05/0.3815, allocations: 4 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.3815, allocations: 4 kB / 1.217 GB, free: 12.64 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.3815, allocations: 91.2 kB / 1.217 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3815, allocations: 0 / 1.217 GB, free: 12.55 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002214/0.3818, allocations: 12 kB / 1.217 GB, free: 12.54 MB / 0.9669 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.0007701/0.3825, allocations: 0.7283 MB / 1.218 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003463/0.3829, allocations: 71.94 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.3829, allocations: 3.938 kB / 1.218 GB, free: 11.71 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001478/0.383, allocations: 35.91 kB / 1.218 GB, free: 11.67 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000346/0.3834, allocations: 9.562 kB / 1.218 GB, free: 11.66 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005719/0.3839, allocations: 159 kB / 1.218 GB, free: 11.47 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003518/0.3843, allocations: 0.6807 MB / 1.219 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.414e-05/0.3843, allocations: 0 / 1.219 GB, free: 10.76 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.019e-05/0.3844, allocations: 15.42 kB / 1.219 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of SimCode: time 4.61e-07/0.3844, allocations: 0 / 1.219 GB, free: 10.75 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02883/0.4132, allocations: 1.638 MB / 1.221 GB, free: 9.203 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.079/8.492, allocations: 6.891 kB / 1.221 GB, free: 9.199 MB / 0.9669 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.87094805482775]