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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 109 kB / 16.45 MB, free: 6.504 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.001291/0.001291, allocations: 195.8 kB / 19.41 MB, free: 3.668 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.42/1.42, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.268/3.268, allocations: 497.2 MB / 0.7811 GB, free: 33.61 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001968/0.001968, allocations: 72.55 kB / 1.134 GB, free: 33.63 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3393/0.3413, allocations: 173.9 MB / 1.304 GB, free: 1.484 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Subtract): time 0.001912/0.3432, allocations: 0.7061 MB / 1.305 GB, free: 0.7812 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0009688/0.3442, allocations: 0.8044 MB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.649e-05/0.3442, allocations: 4 kB / 1.305 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.381e-05/0.3442, allocations: 3.938 kB / 1.306 GB, free: 15.96 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.94e-05/0.3443, allocations: 7.938 kB / 1.306 GB, free: 15.95 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 5.588e-05/0.3444, allocations: 7.984 kB / 1.306 GB, free: 15.94 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 8.721e-05/0.3444, allocations: 51.84 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.3445, allocations: 3.984 kB / 1.306 GB, free: 15.89 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 6.72e-05/0.3446, allocations: 23.92 kB / 1.306 GB, free: 15.86 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 4.475e-05/0.3447, allocations: 15.92 kB / 1.306 GB, free: 15.85 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.624e-05/0.3447, allocations: 7.938 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-06/0.3447, allocations: 4 kB / 1.306 GB, free: 15.84 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 1.874e-05/0.3447, allocations: 11.92 kB / 1.306 GB, free: 15.82 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.168e-05/0.3447, allocations: 15.94 kB / 1.306 GB, free: 15.81 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 9.485e-05/0.3448, allocations: 48.08 kB / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.116e-06/0.3448, allocations: 0 / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.653e-06/0.3448, allocations: 0 / 1.306 GB, free: 15.76 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.3448, allocations: 0 / 1.306 GB, free: 15.76 MB / 1.014 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.000534/0.3454, allocations: 355.4 kB / 1.306 GB, free: 15.36 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3454, allocations: 12.62 kB / 1.306 GB, free: 15.35 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.159e-05/0.3455, allocations: 38.69 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.3455, allocations: 8.891 kB / 1.306 GB, free: 15.3 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.3456, allocations: 184.2 kB / 1.306 GB, free: 15.08 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.3456, allocations: 4.312 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.3456, allocations: 4.375 kB / 1.306 GB, free: 15.07 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002504/0.3459, allocations: 70.22 kB / 1.306 GB, free: 15 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/0.3459, allocations: 3.938 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.927e-06/0.3459, allocations: 0 / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.923e-06/0.3459, allocations: 4 kB / 1.306 GB, free: 14.99 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002734/0.3462, allocations: 63.92 kB / 1.306 GB, free: 14.93 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003796/0.3466, allocations: 272.8 kB / 1.307 GB, free: 14.61 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.3468, allocations: 50.53 kB / 1.307 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001612/0.3469, allocations: 44.92 kB / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.293e-05/0.3469, allocations: 0 / 1.307 GB, free: 14.5 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.347, allocations: 34.56 kB / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.347, allocations: 0 / 1.307 GB, free: 14.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0005096/0.3475, allocations: 137.5 kB / 1.307 GB, free: 14.32 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.126e-05/0.3475, allocations: 51.41 kB / 1.307 GB, free: 14.26 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.912e-05/0.3476, allocations: 105.8 kB / 1.307 GB, free: 14.14 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.3476, allocations: 29.7 kB / 1.307 GB, free: 14.11 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.3477, allocations: 84.14 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.955e-05/0.3477, allocations: 3.953 kB / 1.307 GB, free: 14.02 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.203e-05/0.3478, allocations: 21.7 kB / 1.307 GB, free: 13.99 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3479, allocations: 314.8 kB / 1.308 GB, free: 13.68 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001415/0.3481, allocations: 31.97 kB / 1.308 GB, free: 13.64 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001271/0.3482, allocations: 31.95 kB / 1.308 GB, free: 13.61 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.3484, allocations: 76.72 kB / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3484, allocations: 0 / 1.308 GB, free: 13.54 MB / 1.014 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003036/0.3488, allocations: 101.5 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.3488, allocations: 4 kB / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.3488, allocations: 0 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.3488, allocations: 336 / 1.308 GB, free: 13.43 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.3489, allocations: 27.92 kB / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.3489, allocations: 0 / 1.308 GB, free: 13.4 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.349, allocations: 15.97 kB / 1.308 GB, free: 13.38 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.349, allocations: 0 / 1.308 GB, free: 13.38 MB / 1.014 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 9.182e-05/0.3491, allocations: 117.3 kB / 1.308 GB, free: 13.26 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.3491, allocations: 7.984 kB / 1.308 GB, free: 13.25 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.709e-05/0.3491, allocations: 7.906 kB / 1.308 GB, free: 13.24 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.3491, allocations: 3.938 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.3491, allocations: 4 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3491, allocations: 4 kB / 1.308 GB, free: 13.23 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.3493, allocations: 173.5 kB / 1.308 GB, free: 13.01 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3493, allocations: 4 kB / 1.308 GB, free: 13 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.111e-05/0.3494, allocations: 15.92 kB / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3494, allocations: 0 / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.3494, allocations: 0 / 1.308 GB, free: 12.99 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.035e-06/0.3494, allocations: 4 kB / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3494, allocations: 0 / 1.308 GB, free: 12.98 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003757/0.3498, allocations: 203.4 kB / 1.308 GB, free: 12.77 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 4.343e-05/0.3499, allocations: 77.11 kB / 1.308 GB, free: 12.68 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.416e-05/0.3499, allocations: 4 kB / 1.308 GB, free: 12.67 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001029/0.35, allocations: 11.98 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/0.35, allocations: 3.984 kB / 1.308 GB, free: 12.66 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.35, allocations: 8 kB / 1.308 GB, free: 12.65 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.628e-05/0.3501, allocations: 83.28 kB / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of sort global known variables: time 6e-08/0.3501, allocations: 0 / 1.308 GB, free: 12.57 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002186/0.3503, allocations: 11.95 kB / 1.308 GB, free: 12.55 MB / 1.014 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.0007174/0.351, allocations: 0.7319 MB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003087/0.3513, allocations: 63.92 kB / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3513, allocations: 0 / 1.309 GB, free: 11.73 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.0001638/0.3515, allocations: 47.89 kB / 1.309 GB, free: 11.69 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002996/0.3518, allocations: 7.281 kB / 1.309 GB, free: 11.68 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004758/0.3523, allocations: 159.1 kB / 1.309 GB, free: 11.48 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3526, allocations: 0.6807 MB / 1.31 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 2.91e-05/0.3527, allocations: 0 / 1.31 GB, free: 10.78 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.3527, allocations: 15.44 kB / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of SimCode: time 3.11e-07/0.3527, allocations: 0 / 1.31 GB, free: 10.76 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02557/0.3783, allocations: 1.657 MB / 1.312 GB, free: 9.211 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.362/8.74, allocations: 0.8906 kB / 1.312 GB, free: 9.211 MB / 1.014 GB " [Timeout remaining time 291] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Subtract.pipe 2>&1) [Timeout 840.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.45142843015492]