Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max",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.00516/0.00516, allocations: 100.8 kB / 15.73 MB, free: 6.016 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.001473/0.001473, allocations: 193 kB / 16.67 MB, free: 5.934 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.271/1.271, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.469/2.469, allocations: 482.6 MB / 0.7551 GB, free: 6.617 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001717/0.001717, allocations: 76.25 kB / 1.083 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.255, allocations: 162.3 MB / 1.242 GB, free: 8.867 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Max): time 0.001621/0.2567, allocations: 0.6944 MB / 1.243 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0008295/0.2575, allocations: 0.816 MB / 1.243 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.988e-05/0.2576, allocations: 0 / 1.243 GB, free: 7.348 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.291e-05/0.2576, allocations: 3.938 kB / 1.243 GB, free: 7.344 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.262e-05/0.2576, allocations: 3.938 kB / 1.243 GB, free: 7.34 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 8.231e-05/0.2577, allocations: 11.98 kB / 1.243 GB, free: 7.328 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.818e-05/0.2578, allocations: 47.84 kB / 1.243 GB, free: 7.281 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.552e-05/0.2579, allocations: 7.938 kB / 1.243 GB, free: 7.273 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.387e-05/0.258, allocations: 23.92 kB / 1.243 GB, free: 7.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.21e-05/0.258, allocations: 19.92 kB / 1.244 GB, free: 7.23 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.721e-05/0.258, allocations: 7.984 kB / 1.244 GB, free: 7.223 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.116e-05/0.2581, allocations: 4 kB / 1.244 GB, free: 7.219 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.669e-05/0.2581, allocations: 7.984 kB / 1.244 GB, free: 7.211 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.526e-05/0.2581, allocations: 19.88 kB / 1.244 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 8.576e-05/0.2582, allocations: 44.08 kB / 1.244 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.2582, allocations: 0 / 1.244 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2582, allocations: 0 / 1.244 GB, free: 7.148 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.2582, allocations: 0 / 1.244 GB, free: 7.148 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004691/0.2587, allocations: 363.3 kB / 1.244 GB, free: 6.742 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.328e-05/0.2588, allocations: 12.03 kB / 1.244 GB, free: 6.73 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2588, allocations: 34.75 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.888e-05/0.2588, allocations: 0.9375 kB / 1.244 GB, free: 6.688 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000119/0.2589, allocations: 172.3 kB / 1.244 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.259, allocations: 384 / 1.244 GB, free: 6.48 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.259, allocations: 8.312 kB / 1.244 GB, free: 6.473 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002237/0.2592, allocations: 70.22 kB / 1.244 GB, free: 6.398 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.2592, allocations: 7.938 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.224e-06/0.2592, allocations: 3.938 kB / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.666e-06/0.2592, allocations: 0 / 1.244 GB, free: 6.387 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002728/0.2595, allocations: 63.92 kB / 1.244 GB, free: 6.324 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.2598, allocations: 276.8 kB / 1.245 GB, free: 6.004 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.26, allocations: 66.45 kB / 1.245 GB, free: 5.93 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.2602, allocations: 36.92 kB / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.2602, allocations: 0 / 1.245 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/0.2602, allocations: 30.56 kB / 1.245 GB, free: 5.852 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 8.61e-07/0.2603, allocations: 4 kB / 1.245 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0004982/0.2608, allocations: 129.5 kB / 1.245 GB, free: 5.715 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.2608, allocations: 59.34 kB / 1.245 GB, free: 5.645 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.295e-05/0.2609, allocations: 105.8 kB / 1.245 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.2609, allocations: 25.7 kB / 1.245 GB, free: 5.5 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.537e-05/0.261, allocations: 92.14 kB / 1.245 GB, free: 5.406 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.716e-05/0.261, allocations: 7.906 kB / 1.245 GB, free: 5.398 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.618e-05/0.261, allocations: 21.7 kB / 1.245 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.2611, allocations: 310.8 kB / 1.245 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001401/0.2613, allocations: 27.97 kB / 1.245 GB, free: 5.031 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001339/0.2614, allocations: 39.95 kB / 1.245 GB, free: 4.992 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002579/0.2617, allocations: 68.72 kB / 1.246 GB, free: 4.922 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.2617, allocations: 4 kB / 1.246 GB, free: 4.918 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003055/0.262, allocations: 101.5 kB / 1.246 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.262, allocations: 8 kB / 1.246 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.467e-06/0.2621, allocations: 0 / 1.246 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.508e-06/0.2621, allocations: 0 / 1.246 GB, free: 4.805 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001304/0.2622, allocations: 19.98 kB / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.2622, allocations: 0 / 1.246 GB, free: 4.785 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.382e-05/0.2623, allocations: 15.97 kB / 1.246 GB, free: 4.77 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-06/0.2623, allocations: 320 / 1.246 GB, free: 4.77 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 (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 7.758e-05/0.2624, allocations: 113.8 kB / 1.246 GB, free: 4.648 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.465e-05/0.2624, allocations: 7.953 kB / 1.246 GB, free: 4.641 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003391/0.2628, allocations: 105.5 kB / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-06/0.2628, allocations: 0 / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.2628, allocations: 0 / 1.246 GB, free: 4.527 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.2628, allocations: 3.938 kB / 1.246 GB, free: 4.523 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001722/0.263, allocations: 173.6 kB / 1.246 GB, free: 4.305 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.263, allocations: 7.938 kB / 1.246 GB, free: 4.297 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.977e-05/0.2631, allocations: 15.98 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.2631, allocations: 0 / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.572e-06/0.2631, allocations: 0 / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.2631, allocations: 0 / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.12e-07/0.2631, allocations: 0 / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003566/0.2634, allocations: 199.8 kB / 1.246 GB, free: 4.07 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.284e-05/0.2635, allocations: 89 kB / 1.246 GB, free: 3.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.2635, allocations: 4 kB / 1.246 GB, free: 3.961 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.2636, allocations: 11.98 kB / 1.246 GB, free: 3.949 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.424e-05/0.2637, allocations: 12.02 kB / 1.246 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.617e-06/0.2637, allocations: 0 / 1.246 GB, free: 3.938 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 4.525e-05/0.2637, allocations: 87.27 kB / 1.246 GB, free: 3.852 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.763e-06/0.2637, allocations: 4 kB / 1.246 GB, free: 3.848 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002018/0.2639, allocations: 11.94 kB / 1.246 GB, free: 3.836 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 (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.0006642/0.2646, allocations: 0.7285 MB / 1.247 GB, free: 3.082 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003126/0.2649, allocations: 67.92 kB / 1.247 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.2649, allocations: 0 / 1.247 GB, free: 3.016 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001456/0.2651, allocations: 39.89 kB / 1.247 GB, free: 2.977 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002684/0.2654, allocations: 9.875 kB / 1.247 GB, free: 2.969 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003868/0.2658, allocations: 159 kB / 1.247 GB, free: 2.773 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.2661, allocations: 0.6845 MB / 1.248 GB, free: 2.062 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 4.303e-05/0.2661, allocations: 4 kB / 1.248 GB, free: 2.059 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.911e-05/0.2662, allocations: 11.44 kB / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of SimCode: time 2.1e-07/0.2662, allocations: 0 / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7548/1.021, allocations: 1.627 MB / 1.25 GB, free: 0.5117 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.29/13.32, allocations: 7.047 kB / 1.25 GB, free: 0.5078 MB / 0.9669 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches