Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008479/0.0008479, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008372/0.0008372, allocations: 165.9 kB / 22.45 MB, free: 2.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8783/0.8783, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.726/1.726, allocations: 377.9 MB / 0.6221 GB, free: 8.629 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.976e-06/2.976e-06, allocations: 0 / 0.981 GB, free: 2.523 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.269e-05/2.567e-05, allocations: 2.281 kB / 0.981 GB, free: 2.52 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001623/0.001649, allocations: 0.6949 MB / 0.9817 GB, free: 1.824 MB / 0.9323 GB Notification: Performance of NFInst.instExpressions: time 0.0008082/0.002457, allocations: 0.8237 MB / 0.9825 GB, free: 0.9883 MB / 0.9323 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.05e-05/0.002498, allocations: 4 kB / 0.9825 GB, free: 0.9844 MB / 0.9323 GB Notification: Performance of NFTyping.typeComponents: time 2.805e-05/0.002526, allocations: 3.938 kB / 0.9825 GB, free: 0.9805 MB / 0.9323 GB Notification: Performance of NFTyping.typeBindings: time 6.94e-05/0.002595, allocations: 11.94 kB / 0.9825 GB, free: 0.9688 MB / 0.9323 GB Notification: Performance of NFTyping.typeClassSections: time 6.954e-05/0.002665, allocations: 11.97 kB / 0.9825 GB, free: 0.957 MB / 0.9323 GB Notification: Performance of NFFlatten.flatten: time 8.483e-05/0.002749, allocations: 43.86 kB / 0.9826 GB, free: 0.9141 MB / 0.9323 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001186/0.002868, allocations: 4 kB / 0.9826 GB, free: 0.9102 MB / 0.9323 GB Notification: Performance of NFEvalConstants.evaluate: time 8.139e-05/0.002949, allocations: 31.89 kB / 0.9826 GB, free: 0.8789 MB / 0.9323 GB Notification: Performance of NFSimplifyModel.simplify: time 3.88e-05/0.002988, allocations: 15.98 kB / 0.9826 GB, free: 0.8633 MB / 0.9323 GB Notification: Performance of NFPackage.collectConstants: time 2.211e-05/0.00301, allocations: 3.938 kB / 0.9826 GB, free: 0.8594 MB / 0.9323 GB Notification: Performance of NFFlatten.collectFunctions: time 5.571e-06/0.003016, allocations: 4 kB / 0.9826 GB, free: 0.8555 MB / 0.9323 GB Notification: Performance of NFScalarize.scalarize: time 1.754e-05/0.003033, allocations: 15.98 kB / 0.9827 GB, free: 0.8398 MB / 0.9323 GB Notification: Performance of NFVerifyModel.verify: time 2.553e-05/0.003059, allocations: 8 kB / 0.9827 GB, free: 0.832 MB / 0.9323 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.003149, allocations: 47.8 kB / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 2.325e-06/0.003152, allocations: 0 / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.633e-06/0.003153, allocations: 0 / 0.9827 GB, free: 0.7852 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.003158, allocations: 0 / 0.9827 GB, free: 0.7852 MB / 0.9323 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.0003815/0.003539, allocations: 286.2 kB / 0.983 GB, free: 484 kB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.003581, allocations: 8.031 kB / 0.983 GB, free: 476 kB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.411e-05/0.003615, allocations: 34.75 kB / 0.983 GB, free: 432 kB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.162e-05/0.003637, allocations: 8.891 kB / 0.983 GB, free: 424 kB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.252e-05/0.003719, allocations: 113.8 kB / 0.9831 GB, free: 284 kB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.003731, allocations: 8.375 kB / 0.9832 GB, free: 276 kB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.019e-05/0.003741, allocations: 8.359 kB / 0.9832 GB, free: 268 kB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.00391, allocations: 70.16 kB / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.003917, allocations: 192 / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.787e-06/0.003925, allocations: 384 / 0.9832 GB, free: 192 kB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.003931, allocations: 4.125 kB / 0.9832 GB, free: 188 kB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001346/0.004065, allocations: 67.92 kB / 0.9833 GB, free: 120 kB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003064/0.004372, allocations: 232 kB / 0.9835 GB, free: 15.85 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001184/0.00449, allocations: 58.47 kB / 0.9836 GB, free: 15.78 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.548e-05/0.004566, allocations: 40.91 kB / 0.9836 GB, free: 15.74 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.381e-05/0.004579, allocations: 11.94 kB / 0.9836 GB, free: 15.73 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.946e-05/0.004599, allocations: 30.56 kB / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.0046, allocations: 0 / 0.9837 GB, free: 15.69 MB / 0.948 GB Notification: Performance of matching and sorting (n=3): time 0.0003136/0.004913, allocations: 121.6 kB / 0.9838 GB, free: 15.56 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.985e-05/0.004943, allocations: 51.41 kB / 0.9838 GB, free: 15.5 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.521e-05/0.005009, allocations: 117.8 kB / 0.9839 GB, free: 15.38 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.818e-06/0.005018, allocations: 29.7 kB / 0.984 GB, free: 15.34 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 3.624e-05/0.005055, allocations: 88.06 kB / 0.984 GB, free: 15.25 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.005076, allocations: 15.91 kB / 0.9841 GB, free: 15.23 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.667e-05/0.005102, allocations: 13.66 kB / 0.9841 GB, free: 15.21 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.005181, allocations: 318.8 kB / 0.9844 GB, free: 14.89 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.333e-05/0.005254, allocations: 31.95 kB / 0.9844 GB, free: 14.86 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.005314, allocations: 31.97 kB / 0.9844 GB, free: 14.83 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.005443, allocations: 68.78 kB / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.005445, allocations: 0 / 0.9845 GB, free: 14.76 MB / 0.948 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001543/0.005599, allocations: 97.56 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.005615, allocations: 4 kB / 0.9846 GB, free: 14.66 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.005621, allocations: 8 kB / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.005633, allocations: 0 / 0.9846 GB, free: 14.65 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.933e-05/0.005722, allocations: 19.91 kB / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.005727, allocations: 0 / 0.9846 GB, free: 14.63 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.588e-05/0.005763, allocations: 15.94 kB / 0.9846 GB, free: 14.61 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.005769, allocations: 0 / 0.9846 GB, free: 14.61 MB / 0.948 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 5.733e-05/0.005827, allocations: 113.8 kB / 0.9847 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.277e-05/0.005839, allocations: 3.938 kB / 0.9848 GB, free: 14.49 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.034e-05/0.00586, allocations: 8 kB / 0.9848 GB, free: 14.48 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.005863, allocations: 7.984 kB / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.005867, allocations: 0 / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.00587, allocations: 336 / 0.9848 GB, free: 14.47 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001019/0.005972, allocations: 132.8 kB / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.005973, allocations: 0 / 0.9849 GB, free: 14.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.048e-05/0.006013, allocations: 19.92 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002744/0.006288, allocations: 3.984 kB / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.041e-06/0.006294, allocations: 0 / 0.9849 GB, free: 14.28 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.006296, allocations: 4 kB / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.006297, allocations: 0 / 0.9849 GB, free: 14.27 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001874/0.006484, allocations: 203.4 kB / 0.9851 GB, free: 14.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.614e-06/0.006492, allocations: 7.938 kB / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.799e-06/0.006502, allocations: 0 / 0.9851 GB, free: 14.05 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.691e-05/0.006549, allocations: 11.98 kB / 0.9851 GB, free: 14.04 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.93e-05/0.006588, allocations: 7.984 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.006591, allocations: 3.938 kB / 0.9851 GB, free: 14.03 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.065e-05/0.006631, allocations: 91.58 kB / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of sort global known variables: time 5e-08/0.006631, allocations: 0 / 0.9852 GB, free: 13.94 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0001421/0.006774, allocations: 11.94 kB / 0.9852 GB, free: 13.93 MB / 0.948 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.000386/0.00716, allocations: 0.728 MB / 0.986 GB, free: 13.17 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001807/0.00734, allocations: 75.86 kB / 0.986 GB, free: 13.09 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.313e-06/0.007342, allocations: 0 / 0.986 GB, free: 13.09 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 6.806e-05/0.00741, allocations: 35.95 kB / 0.9861 GB, free: 13.06 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002301/0.00764, allocations: 11.94 kB / 0.9861 GB, free: 13.05 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003572/0.007997, allocations: 146.4 kB / 0.9862 GB, free: 12.86 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.663e-05/0.008044, allocations: 71.28 kB / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 2.259e-05/0.008066, allocations: 0 / 0.9863 GB, free: 12.77 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.094e-05/0.008107, allocations: 16.5 kB / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of SimCode: time 4.61e-07/0.008107, allocations: 0 / 0.9863 GB, free: 12.76 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01763/0.02574, allocations: 2.333 MB / 0.9886 GB, free: 10.57 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.648/6.674, allocations: 2.031 kB / 0.9886 GB, free: 10.57 MB / 0.948 GB " [Timeout remaining time 293] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 10.695019401609898]