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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001178/0.001178, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008574/0.008574, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.286/1.286, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.472/2.472, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002942/0.0002942, allocations: 10.84 kB / 0.9029 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2416, allocations: 159.6 MB / 1.059 GB, free: 4.859 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Cos): time 0.0007329/0.2424, allocations: 400.5 kB / 1.059 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008212/0.2432, allocations: 0.8157 MB / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.2433, allocations: 0 / 1.06 GB, free: 3.645 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.2433, allocations: 3.938 kB / 1.06 GB, free: 3.641 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.276e-05/0.2433, allocations: 7.984 kB / 1.06 GB, free: 3.633 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001112/0.2435, allocations: 8 kB / 1.06 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 5.002e-05/0.2435, allocations: 19.92 kB / 1.06 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.625e-05/0.2436, allocations: 11.98 kB / 1.06 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 4.968e-05/0.2437, allocations: 7.938 kB / 1.06 GB, free: 3.586 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 3.531e-05/0.2437, allocations: 11.98 kB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2437, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 7.123e-06/0.2437, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.369e-05/0.2437, allocations: 3.938 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.489e-05/0.2438, allocations: 33.69 kB / 1.06 GB, free: 3.531 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 5.51e-05/0.2438, allocations: 23.91 kB / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.845e-06/0.2439, allocations: 0 / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.51e-07/0.2439, allocations: 0 / 1.06 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.447e-06/0.2439, allocations: 0 / 1.06 GB, free: 3.508 MB / 0.8106 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.0003605/0.2442, allocations: 339.8 kB / 1.06 GB, free: 3.125 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.2443, allocations: 11.97 kB / 1.06 GB, free: 3.113 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.106e-05/0.2443, allocations: 34.75 kB / 1.06 GB, free: 3.07 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.826e-05/0.2443, allocations: 8.875 kB / 1.06 GB, free: 3.062 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.238e-05/0.2444, allocations: 164.3 kB / 1.061 GB, free: 2.863 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.2444, allocations: 8.359 kB / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.2445, allocations: 384 / 1.061 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001677/0.2446, allocations: 50.25 kB / 1.061 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.434e-06/0.2447, allocations: 3.938 kB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.2447, allocations: 0 / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.2447, allocations: 3.984 kB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001675/0.2448, allocations: 51.91 kB / 1.061 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.2451, allocations: 248.9 kB / 1.061 GB, free: 2.449 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.2453, allocations: 54.53 kB / 1.061 GB, free: 2.387 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.63e-05/0.2454, allocations: 24.91 kB / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.703e-05/0.2454, allocations: 0 / 1.061 GB, free: 2.359 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.2454, allocations: 42.5 kB / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=2): time 6.91e-07/0.2454, allocations: 0 / 1.061 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2): time 0.0003461/0.2458, allocations: 97.58 kB / 1.061 GB, free: 2.207 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.888e-05/0.2458, allocations: 55.53 kB / 1.061 GB, free: 2.141 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.94e-05/0.2459, allocations: 101.8 kB / 1.061 GB, free: 2.031 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.2459, allocations: 29.7 kB / 1.061 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.271e-05/0.2459, allocations: 80.14 kB / 1.061 GB, free: 1.914 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.2459, allocations: 3.906 kB / 1.061 GB, free: 1.91 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.077e-05/0.246, allocations: 9.719 kB / 1.061 GB, free: 1.895 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.297e-05/0.2461, allocations: 318.8 kB / 1.062 GB, free: 1.574 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.442e-05/0.2461, allocations: 23.97 kB / 1.062 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.801e-05/0.2462, allocations: 23.98 kB / 1.062 GB, free: 1.527 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.2464, allocations: 48.89 kB / 1.062 GB, free: 1.477 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2464, allocations: 3.938 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001952/0.2466, allocations: 77.59 kB / 1.062 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.191e-05/0.2466, allocations: 4.031 kB / 1.062 GB, free: 1.387 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.2466, allocations: 4 kB / 1.062 GB, free: 1.383 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.077e-05/0.2466, allocations: 4 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.114e-05/0.2467, allocations: 11.98 kB / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/0.2467, allocations: 0 / 1.062 GB, free: 1.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.962e-05/0.2468, allocations: 11.89 kB / 1.062 GB, free: 1.355 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-06/0.2468, allocations: 0 / 1.062 GB, free: 1.355 MB / 0.8106 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 6.201e-05/0.2469, allocations: 117.8 kB / 1.062 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.2469, allocations: 4.188 kB / 1.062 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.2471, allocations: 84.7 kB / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.2471, allocations: 0 / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.2471, allocations: 0 / 1.062 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.2472, allocations: 4.031 kB / 1.062 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.2473, allocations: 165.6 kB / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2473, allocations: 0 / 1.062 GB, free: 0.9258 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.913e-05/0.2474, allocations: 8 kB / 1.062 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2474, allocations: 3.938 kB / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.2474, allocations: 0 / 1.062 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2474, allocations: 3.984 kB / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2474, allocations: 0 / 1.062 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.2476, allocations: 175.5 kB / 1.063 GB, free: 0.7227 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.985e-05/0.2477, allocations: 85.03 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.05e-05/0.2477, allocations: 0 / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.417e-05/0.2478, allocations: 8.031 kB / 1.063 GB, free: 0.6133 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.2478, allocations: 7.984 kB / 1.063 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.995e-06/0.2478, allocations: 3.938 kB / 1.063 GB, free: 0.6016 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.367e-05/0.2478, allocations: 83.28 kB / 1.063 GB, free: 0.5195 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2479, allocations: 3.938 kB / 1.063 GB, free: 0.5156 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002005/0.2481, allocations: 4 kB / 1.063 GB, free: 0.5117 MB / 0.8106 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.0004844/0.2485, allocations: 0.7084 MB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001959/0.2488, allocations: 47.98 kB / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.2488, allocations: 0 / 1.063 GB, free: 15.73 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.672e-05/0.2489, allocations: 31.92 kB / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.2491, allocations: 128 / 1.063 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003426/0.2495, allocations: 144.6 kB / 1.064 GB, free: 15.52 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001863/0.2497, allocations: 0.677 MB / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.976e-05/0.2497, allocations: 0 / 1.064 GB, free: 14.81 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.2497, allocations: 15.44 kB / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2497, allocations: 0 / 1.064 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7868/1.037, allocations: 1.022 MB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/1.037, allocations: 194.2 kB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.463/2.5, allocations: 0 / 1.065 GB, free: 13.65 MB / 0.8262 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Cos.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches