Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sub.u1|sub.u2|sub.y",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001979/0.001979, allocations: 110.7 kB / 16.42 MB, free: 6.473 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.002258/0.002258, allocations: 187.9 kB / 17.35 MB, free: 5.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.438/1.438, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.796/2.796, allocations: 472.7 MB / 0.746 GB, free: 424 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 71.89 kB / 1.07 GB, free: 9.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9811/0.9826, allocations: 159.9 MB / 1.226 GB, free: 13.46 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.002137/0.9848, allocations: 0.6967 MB / 1.227 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.00101/0.9858, allocations: 0.8001 MB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.112e-05/0.9859, allocations: 0 / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.326e-05/0.9859, allocations: 3.938 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.986, allocations: 3.938 kB / 1.228 GB, free: 11.95 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 9.982e-05/0.9861, allocations: 15.97 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001314/0.9863, allocations: 51.8 kB / 1.228 GB, free: 11.88 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001856/0.9865, allocations: 11.98 kB / 1.228 GB, free: 11.87 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001106/0.9866, allocations: 19.92 kB / 1.228 GB, free: 11.85 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.509e-05/0.9867, allocations: 15.92 kB / 1.228 GB, free: 11.84 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.533e-05/0.9867, allocations: 4 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.317e-05/0.9867, allocations: 4 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.748e-05/0.9867, allocations: 4 kB / 1.228 GB, free: 11.82 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.429e-05/0.9868, allocations: 23.86 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.9869, allocations: 39.86 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.987, allocations: 4 kB / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.455e-06/0.987, allocations: 0 / 1.228 GB, free: 11.76 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.56e-05/0.987, allocations: 0 / 1.228 GB, free: 11.76 MB / 0.9512 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.0006356/0.9876, allocations: 371.8 kB / 1.228 GB, free: 11.35 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.9877, allocations: 8.031 kB / 1.228 GB, free: 11.34 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.851e-05/0.9877, allocations: 16.83 kB / 1.228 GB, free: 11.32 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001445/0.9879, allocations: 164.4 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/0.9879, allocations: 8.312 kB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.544e-05/0.9879, allocations: 4.375 kB / 1.229 GB, free: 11.11 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002562/0.9882, allocations: 70.22 kB / 1.229 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.9882, allocations: 8.172 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.9882, allocations: 3.938 kB / 1.229 GB, free: 11.03 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.118e-05/0.9882, allocations: 3.984 kB / 1.229 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.9885, allocations: 63.94 kB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000428/0.989, allocations: 264.9 kB / 1.229 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.9892, allocations: 62.41 kB / 1.229 GB, free: 10.58 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001531/0.9893, allocations: 44.92 kB / 1.229 GB, free: 10.54 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.9893, allocations: 3.984 kB / 1.229 GB, free: 10.53 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.9894, allocations: 30.56 kB / 1.229 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.193e-06/0.9894, allocations: 0 / 1.229 GB, free: 10.49 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0005201/0.9899, allocations: 129.5 kB / 1.229 GB, free: 10.36 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.556e-05/0.99, allocations: 55.41 kB / 1.229 GB, free: 10.29 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001138/0.9901, allocations: 105.8 kB / 1.229 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.9901, allocations: 29.7 kB / 1.229 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.419e-05/0.9902, allocations: 92.06 kB / 1.23 GB, free: 10.05 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.743e-05/0.9902, allocations: 19.83 kB / 1.23 GB, free: 10.03 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.64e-05/0.9902, allocations: 13.72 kB / 1.23 GB, free: 10.01 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9904, allocations: 314.8 kB / 1.23 GB, free: 9.695 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000139/0.9905, allocations: 31.95 kB / 1.23 GB, free: 9.664 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.9907, allocations: 31.97 kB / 1.23 GB, free: 9.633 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002481/0.9909, allocations: 64.78 kB / 1.23 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.9909, allocations: 0 / 1.23 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003019/0.9912, allocations: 109.5 kB / 1.23 GB, free: 9.453 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.9913, allocations: 8 kB / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.9913, allocations: 0 / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.9913, allocations: 0 / 1.23 GB, free: 9.445 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.9914, allocations: 15.97 kB / 1.23 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.9915, allocations: 4 kB / 1.23 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.163e-05/0.9915, allocations: 15.94 kB / 1.23 GB, free: 9.41 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.9915, allocations: 4 kB / 1.23 GB, free: 9.406 MB / 0.9512 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.0001013/0.9917, allocations: 113.8 kB / 1.23 GB, free: 9.285 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.989e-05/0.9917, allocations: 8 kB / 1.23 GB, free: 9.277 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.604e-05/0.9917, allocations: 3.906 kB / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.9917, allocations: 0 / 1.23 GB, free: 9.266 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-06/0.9917, allocations: 3.984 kB / 1.23 GB, free: 9.262 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.503e-05/0.9918, allocations: 77.11 kB / 1.23 GB, free: 9.168 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.714e-05/0.9918, allocations: 8 kB / 1.23 GB, free: 9.16 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.9919, allocations: 11.92 kB / 1.23 GB, free: 9.148 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.376e-05/0.992, allocations: 11.94 kB / 1.23 GB, free: 9.137 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004004/0.9924, allocations: 185.1 kB / 1.231 GB, free: 8.949 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003742/0.9928, allocations: 278.7 kB / 1.231 GB, free: 8.66 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001363/0.9929, allocations: 31.97 kB / 1.231 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 5.063e-05/0.993, allocations: 87.27 kB / 1.231 GB, free: 8.543 MB / 0.9512 GB Notification: Performance of Backend: time 5.71e-07/0.993, allocations: 4 kB / 1.231 GB, free: 8.539 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0004916/0.9935, allocations: 114.4 kB / 1.231 GB, free: 8.422 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006306/0.9941, allocations: 0.5828 MB / 1.232 GB, free: 7.793 MB / 0.9512 GB Notification: Performance of Templates: time 0.003269/0.9974, allocations: 0.836 MB / 1.232 GB, free: 6.961 MB / 0.9512 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches