Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.315/2.315, allocations: 390.3 MB / 402.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001095/0.001095, allocations: 184.8 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.525/1.525, allocations: 221.3 MB / 0.7915 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001051/0.001051, allocations: 91.94 kB / 0.9317 GB, free: 5.742 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.538e-05/4.554e-05, allocations: 10.58 kB / 1.079 GB, free: 140.4 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.321, allocations: 143 MB / 1.219 GB, free: 13.42 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.066/1.387, allocations: 150 MB / 1.365 GB, free: 4.012 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002554/1.388, allocations: 71.44 kB / 1.365 GB, free: 3.973 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.008552/1.396, allocations: 2.814 MB / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.182e-06/1.396, allocations: 0 / 1.368 GB, free: 1.461 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.628e-05/1.396, allocations: 8 kB / 1.368 GB, free: 1.453 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.001053/1.397, allocations: 0.5634 MB / 1.369 GB, free: 0.8594 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.964e-05/1.397, allocations: 8.031 kB / 1.369 GB, free: 0.8516 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.84e-05/1.398, allocations: 41.56 kB / 1.369 GB, free: 0.8086 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.467e-05/1.398, allocations: 27.75 kB / 1.369 GB, free: 0.7812 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/1.398, allocations: 217.1 kB / 1.369 GB, free: 0.5391 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.723e-05/1.398, allocations: 7.812 kB / 1.369 GB, free: 0.5352 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.29e-05/1.398, allocations: 15.12 kB / 1.369 GB, free: 0.5234 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000288/1.398, allocations: 145 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/1.398, allocations: 0 / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.942e-05/1.398, allocations: 3.312 kB / 1.369 GB, free: 424 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.226e-06/1.398, allocations: 4 kB / 1.369 GB, free: 420 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000196/1.399, allocations: 99.61 kB / 1.369 GB, free: 356 kB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001293/1.4, allocations: 0.6286 MB / 1.37 GB, free: 15.75 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/1.4, allocations: 134.7 kB / 1.37 GB, free: 15.66 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001464/1.4, allocations: 98.89 kB / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.444e-05/1.4, allocations: 0 / 1.37 GB, free: 15.59 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.261e-05/1.4, allocations: 37.94 kB / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=17): time 9.72e-07/1.4, allocations: 0 / 1.37 GB, free: 15.55 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17): time 0.0003704/1.401, allocations: 154.2 kB / 1.37 GB, free: 15.43 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/1.401, allocations: 55.41 kB / 1.37 GB, free: 15.36 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/1.401, allocations: 164.9 kB / 1.37 GB, free: 15.21 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/1.401, allocations: 25.7 kB / 1.371 GB, free: 15.18 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.201e-05/1.401, allocations: 126.5 kB / 1.371 GB, free: 15.07 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 5.717e-05/1.401, allocations: 64.53 kB / 1.371 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.044e-05/1.401, allocations: 3.438 kB / 1.371 GB, free: 15.02 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001301/1.401, allocations: 324.3 kB / 1.371 GB, free: 14.7 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.411e-05/1.401, allocations: 46.5 kB / 1.371 GB, free: 14.67 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.207e-05/1.401, allocations: 49.12 kB / 1.371 GB, free: 14.64 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001022/1.402, allocations: 52.03 kB / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/1.402, allocations: 0 / 1.371 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0002585/1.402, allocations: 164.1 kB / 1.371 GB, free: 14.48 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/1.402, allocations: 8 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.402, allocations: 0 / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/1.402, allocations: 4 kB / 1.371 GB, free: 14.47 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004471/1.402, allocations: 99.91 kB / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.532e-06/1.402, allocations: 0 / 1.371 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/1.403, allocations: 91.7 kB / 1.372 GB, free: 14.29 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/1.403, allocations: 4 kB / 1.372 GB, free: 14.28 MB / 0.8386 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.423e-05/1.403, allocations: 116.4 kB / 1.372 GB, free: 14.17 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.968e-05/1.403, allocations: 15.81 kB / 1.372 GB, free: 14.15 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.01e-05/1.403, allocations: 31.64 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/1.403, allocations: 0 / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.403, allocations: 4 kB / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.403, allocations: 0 / 1.372 GB, free: 14.13 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002693/1.403, allocations: 267.2 kB / 1.372 GB, free: 13.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/1.403, allocations: 3.953 kB / 1.372 GB, free: 13.85 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/1.404, allocations: 107.5 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/1.404, allocations: 0 / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/1.404, allocations: 2.562 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/1.404, allocations: 4 kB / 1.372 GB, free: 13.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.404, allocations: 7.984 kB / 1.372 GB, free: 13.74 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005519/1.404, allocations: 342.1 kB / 1.372 GB, free: 13.47 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.936e-05/1.404, allocations: 96.84 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.023e-05/1.404, allocations: 4 kB / 1.372 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003961/1.405, allocations: 75.23 kB / 1.373 GB, free: 13.29 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/1.405, allocations: 27.39 kB / 1.373 GB, free: 13.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/1.405, allocations: 4 kB / 1.373 GB, free: 13.26 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001196/1.405, allocations: 129.6 kB / 1.373 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.405, allocations: 0 / 1.373 GB, free: 13.15 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002506/1.405, allocations: 46.53 kB / 1.373 GB, free: 13.11 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (sleRatLim.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009983/1.406, allocations: 0.8827 MB / 1.374 GB, free: 12.29 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0003292/1.407, allocations: 124.9 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/1.407, allocations: 8 kB / 1.374 GB, free: 12.2 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0001448/1.407, allocations: 74.86 kB / 1.374 GB, free: 12.14 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003413/1.407, allocations: 27.23 kB / 1.374 GB, free: 12.12 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008035/1.408, allocations: 305.7 kB / 1.374 GB, free: 11.82 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003961/1.408, allocations: 0.7321 MB / 1.375 GB, free: 11.07 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000111/1.409, allocations: 13.2 kB / 1.375 GB, free: 11.05 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/1.409, allocations: 55.23 kB / 1.375 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of SimCode: time 5.61e-07/1.409, allocations: 0 / 1.375 GB, free: 11.03 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01664/1.425, allocations: 3.765 MB / 1.379 GB, free: 7.469 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/1.425, allocations: 164 kB / 1.379 GB, free: 7.25 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.705/3.13, allocations: 0 / 1.379 GB, free: 7.25 MB / 0.8386 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate_fmu --startTime=0 --stopTime=480 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_LimitSlewRate.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.LimitSlewRate_res.mat does not exist to compare? outputFormat=mat