Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.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.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min",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.0008915/0.0008913, allocations: 98.27 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.005353/0.005353, allocations: 170.6 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.26/1.26, 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.48/2.48, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003152/0.0003152, allocations: 14.53 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2434, allocations: 159.6 MB / 1.059 GB, free: 4.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Min): time 0.0007125/0.2442, allocations: 440.4 kB / 1.059 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0007483/0.245, allocations: 0.8118 MB / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.245, allocations: 0 / 1.06 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.639e-05/0.245, allocations: 3.938 kB / 1.06 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.913e-05/0.2451, allocations: 11.91 kB / 1.06 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 7.382e-05/0.2452, allocations: 8 kB / 1.06 GB, free: 3.551 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.793e-05/0.2452, allocations: 47.78 kB / 1.06 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 8.164e-05/0.2453, allocations: 12 kB / 1.06 GB, free: 3.492 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 5.238e-05/0.2454, allocations: 11.98 kB / 1.06 GB, free: 3.48 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.612e-05/0.2454, allocations: 23.86 kB / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.2455, allocations: 0 / 1.06 GB, free: 3.457 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.05e-05/0.2455, allocations: 4 kB / 1.06 GB, free: 3.453 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.353e-05/0.2455, allocations: 3.984 kB / 1.06 GB, free: 3.449 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.2455, allocations: 37.64 kB / 1.06 GB, free: 3.406 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 6.72e-05/0.2456, allocations: 43.78 kB / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.2456, allocations: 0 / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2456, allocations: 0 / 1.06 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.2456, allocations: 0 / 1.06 GB, free: 3.363 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000414/0.2461, allocations: 363.7 kB / 1.061 GB, free: 2.957 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.2461, allocations: 19.91 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.358e-05/0.2461, allocations: 34.75 kB / 1.061 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.015e-05/0.2462, allocations: 4.938 kB / 1.061 GB, free: 2.891 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.897e-05/0.2463, allocations: 172.2 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.2463, allocations: 8.375 kB / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.808e-06/0.2463, allocations: 384 / 1.061 GB, free: 2.676 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000233/0.2465, allocations: 78.22 kB / 1.061 GB, free: 2.594 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.792e-06/0.2465, allocations: 3.938 kB / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.2466, allocations: 0 / 1.061 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2466, allocations: 4 kB / 1.061 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002999/0.2469, allocations: 91.86 kB / 1.061 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002809/0.2472, allocations: 264.9 kB / 1.061 GB, free: 2.188 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001924/0.2474, allocations: 62.55 kB / 1.061 GB, free: 2.117 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001616/0.2475, allocations: 60.89 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.2476, allocations: 4 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.92e-05/0.2476, allocations: 34.56 kB / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 1.012e-06/0.2476, allocations: 0 / 1.061 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0005356/0.2481, allocations: 165.4 kB / 1.062 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.744e-05/0.2482, allocations: 55.41 kB / 1.062 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.396e-05/0.2482, allocations: 105.8 kB / 1.062 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.2482, allocations: 29.7 kB / 1.062 GB, free: 1.625 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.2483, allocations: 88.14 kB / 1.062 GB, free: 1.535 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.487e-05/0.2483, allocations: 3.906 kB / 1.062 GB, free: 1.531 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.39e-05/0.2483, allocations: 13.72 kB / 1.062 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.665e-05/0.2484, allocations: 314.8 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.2486, allocations: 43.97 kB / 1.062 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001415/0.2487, allocations: 43.95 kB / 1.062 GB, free: 1.109 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002879/0.249, allocations: 100.7 kB / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.567e-06/0.249, allocations: 0 / 1.062 GB, free: 1.008 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003292/0.2494, allocations: 129.4 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.106e-05/0.2494, allocations: 8 kB / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.2494, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.837e-06/0.2494, allocations: 0 / 1.062 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001178/0.2495, allocations: 19.98 kB / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2495, allocations: 0 / 1.062 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.495e-05/0.2496, allocations: 15.98 kB / 1.062 GB, free: 0.832 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.625e-06/0.2496, allocations: 7.984 kB / 1.062 GB, free: 0.8242 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 (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 6.147e-05/0.2497, allocations: 117.8 kB / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.2497, allocations: 0 / 1.063 GB, free: 0.6992 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003595/0.2501, allocations: 133.5 kB / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.2501, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.2501, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2501, allocations: 0 / 1.063 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.2503, allocations: 177.5 kB / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2503, allocations: 0 / 1.063 GB, free: 344 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.692e-05/0.2504, allocations: 27.97 kB / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.2504, allocations: 0 / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.2504, allocations: 0 / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.2504, allocations: 0 / 1.063 GB, free: 316 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.2504, allocations: 4 kB / 1.063 GB, free: 312 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003555/0.2508, allocations: 219.3 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.007e-05/0.2508, allocations: 85.52 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.2508, allocations: 4 kB / 1.063 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001137/0.251, allocations: 15.98 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.251, allocations: 4 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.89e-06/0.251, allocations: 3.984 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 3.45e-05/0.251, allocations: 83.28 kB / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2511, allocations: 0 / 1.063 GB, free: 15.86 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002062/0.2513, allocations: 8 kB / 1.063 GB, free: 15.86 MB / 0.8262 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.0005954/0.2519, allocations: 0.7614 MB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000322/0.2522, allocations: 91.86 kB / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.2522, allocations: 0 / 1.064 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001537/0.2524, allocations: 51.95 kB / 1.064 GB, free: 14.93 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002568/0.2526, allocations: 9.406 kB / 1.064 GB, free: 14.92 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003518/0.253, allocations: 162.2 kB / 1.064 GB, free: 14.72 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.2532, allocations: 0.6926 MB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.543e-05/0.2532, allocations: 0 / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.528e-05/0.2533, allocations: 11.44 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of SimCode: time 3.61e-07/0.2533, allocations: 4 kB / 1.065 GB, free: 13.99 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3095/0.5627, allocations: 1.306 MB / 1.066 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001707/0.5629, allocations: 198.2 kB / 1.066 GB, free: 12.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.632/2.195, allocations: 0 / 1.066 GB, free: 12.55 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches