Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.001322/0.001322, allocations: 112.5 kB / 16.41 MB, free: 6.512 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.001364/0.001364, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.445/1.445, allocations: 222.9 MB / 245.1 MB, free: 15 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.194/3.194, allocations: 489 MB / 0.7678 GB, free: 29.16 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.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Cos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001976/0.001976, allocations: 67.89 kB / 1.101 GB, free: 5.809 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9283/0.9303, allocations: 163.8 MB / 1.261 GB, free: 7.246 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.001849/0.9322, allocations: 0.6711 MB / 1.262 GB, free: 6.574 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001023/0.9333, allocations: 0.8068 MB / 1.263 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.546e-05/0.9333, allocations: 0 / 1.263 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.439e-05/0.9334, allocations: 7.922 kB / 1.263 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-05/0.9334, allocations: 0 / 1.263 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001387/0.9336, allocations: 11.94 kB / 1.263 GB, free: 5.738 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.361e-05/0.9336, allocations: 23.97 kB / 1.263 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 9.896e-05/0.9337, allocations: 8 kB / 1.263 GB, free: 5.707 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.757e-05/0.9338, allocations: 19.86 kB / 1.263 GB, free: 5.688 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.086e-05/0.9339, allocations: 11.98 kB / 1.263 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.9339, allocations: 0 / 1.263 GB, free: 5.676 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.034e-05/0.9339, allocations: 4 kB / 1.263 GB, free: 5.672 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.652e-05/0.9339, allocations: 3.938 kB / 1.263 GB, free: 5.668 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.9339, allocations: 8 kB / 1.263 GB, free: 5.66 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.948e-05/0.934, allocations: 23.89 kB / 1.263 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.9341, allocations: 0 / 1.263 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.814e-06/0.9341, allocations: 0 / 1.263 GB, free: 5.637 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.9341, allocations: 4 kB / 1.263 GB, free: 5.633 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005019/0.9346, allocations: 334.3 kB / 1.263 GB, free: 5.258 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.9346, allocations: 12.03 kB / 1.263 GB, free: 5.246 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.9347, allocations: 34.73 kB / 1.263 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.9347, allocations: 0.9375 kB / 1.263 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001524/0.9349, allocations: 172.3 kB / 1.263 GB, free: 4.996 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.529e-05/0.9349, allocations: 8.375 kB / 1.263 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.414e-06/0.9349, allocations: 384 / 1.263 GB, free: 4.988 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001817/0.9351, allocations: 58.17 kB / 1.263 GB, free: 4.926 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9351, allocations: 3.938 kB / 1.263 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.9351, allocations: 0 / 1.263 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.9351, allocations: 3.984 kB / 1.263 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001837/0.9353, allocations: 35.95 kB / 1.263 GB, free: 4.883 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003681/0.9357, allocations: 245 kB / 1.264 GB, free: 4.594 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001378/0.9358, allocations: 42.5 kB / 1.264 GB, free: 4.543 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.771e-05/0.9359, allocations: 24.78 kB / 1.264 GB, free: 4.516 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.516e-05/0.936, allocations: 7.984 kB / 1.264 GB, free: 4.508 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.046e-05/0.936, allocations: 30.56 kB / 1.264 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.936, allocations: 0 / 1.264 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2): time 0.0003776/0.9364, allocations: 89.58 kB / 1.264 GB, free: 4.375 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/0.9364, allocations: 51.41 kB / 1.264 GB, free: 4.312 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.9365, allocations: 97.86 kB / 1.264 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/0.9366, allocations: 25.7 kB / 1.264 GB, free: 4.176 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.273e-05/0.9366, allocations: 80.14 kB / 1.264 GB, free: 4.094 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.9366, allocations: 15.94 kB / 1.264 GB, free: 4.078 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.9367, allocations: 9.844 kB / 1.264 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.9369, allocations: 318.8 kB / 1.264 GB, free: 3.742 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.722e-05/0.937, allocations: 19.98 kB / 1.264 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.112e-05/0.937, allocations: 11.98 kB / 1.264 GB, free: 3.711 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001586/0.9372, allocations: 40.81 kB / 1.264 GB, free: 3.668 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.486e-06/0.9372, allocations: 8 kB / 1.264 GB, free: 3.66 MB / 0.9669 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001994/0.9374, allocations: 73.61 kB / 1.264 GB, free: 3.582 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.9375, allocations: 4 kB / 1.264 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.9375, allocations: 0 / 1.264 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.9375, allocations: 0 / 1.264 GB, free: 3.578 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.099e-05/0.9376, allocations: 8 kB / 1.264 GB, free: 3.57 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.598e-06/0.9376, allocations: 3.938 kB / 1.264 GB, free: 3.566 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/0.9376, allocations: 7.984 kB / 1.264 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.9377, allocations: 4.031 kB / 1.264 GB, free: 3.555 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 (2): * Single equations (assignments): 2 * 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.028e-05/0.9378, allocations: 109.8 kB / 1.265 GB, free: 3.438 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.256e-05/0.9378, allocations: 4 kB / 1.265 GB, free: 3.434 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.938, allocations: 72.77 kB / 1.265 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.938, allocations: 0 / 1.265 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-06/0.938, allocations: 0 / 1.265 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.938, allocations: 0 / 1.265 GB, free: 3.355 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001892/0.9382, allocations: 161.6 kB / 1.265 GB, free: 3.148 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.9383, allocations: 4 kB / 1.265 GB, free: 3.145 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.65e-05/0.9383, allocations: 7.984 kB / 1.265 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.9383, allocations: 0 / 1.265 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.9384, allocations: 0 / 1.265 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.84e-06/0.9384, allocations: 0 / 1.265 GB, free: 3.137 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.9384, allocations: 7.875 kB / 1.265 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003288/0.9387, allocations: 167.5 kB / 1.265 GB, free: 2.949 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.951e-05/0.9388, allocations: 85.06 kB / 1.265 GB, free: 2.848 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.779e-05/0.9388, allocations: 4 kB / 1.265 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001203/0.9389, allocations: 7.984 kB / 1.265 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.475e-05/0.939, allocations: 0 / 1.265 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.939, allocations: 0 / 1.265 GB, free: 2.836 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.57e-05/0.9391, allocations: 87.27 kB / 1.265 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9391, allocations: 0 / 1.265 GB, free: 2.75 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002913/0.9394, allocations: 8.031 kB / 1.265 GB, free: 2.742 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 (2): * Single equations (assignments): 2 * 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.0006291/0.94, allocations: 0.7006 MB / 1.266 GB, free: 2.012 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0002131/0.9402, allocations: 36 kB / 1.266 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9402, allocations: 0 / 1.266 GB, free: 1.977 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.9403, allocations: 19.97 kB / 1.266 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000306/0.9406, allocations: 9.703 kB / 1.266 GB, free: 1.949 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.9411, allocations: 143.5 kB / 1.266 GB, free: 1.77 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.9414, allocations: 0.6808 MB / 1.267 GB, free: 1.062 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.582e-05/0.9414, allocations: 4 kB / 1.267 GB, free: 1.059 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.57e-05/0.9415, allocations: 7.438 kB / 1.267 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of SimCode: time 6.81e-07/0.9415, allocations: 0 / 1.267 GB, free: 1.051 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02225/0.9637, allocations: 1.275 MB / 1.268 GB, free: 15.86 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.917/8.881, allocations: 2.062 kB / 1.268 GB, free: 15.86 MB / 0.9825 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Cos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Cos.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.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.976938216015697]