Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo",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.01168/0.01168, allocations: 104.4 kB / 15.74 MB, free: 6.441 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.001769/0.001769, allocations: 190.2 kB / 16.67 MB, free: 6.355 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.956/1.956, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 3.121/3.121, allocations: 390.2 MB / 0.6648 GB, free: 192 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002022/0.002022, allocations: 69.23 kB / 0.9505 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3396/0.3417, allocations: 140.4 MB / 1.088 GB, free: 1.949 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo): time 0.002319/0.3441, allocations: 0.7058 MB / 1.088 GB, free: 1.242 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001543/0.3456, allocations: 0.8744 MB / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.814e-05/0.3457, allocations: 0 / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.008e-05/0.3458, allocations: 0 / 1.089 GB, free: 364 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0001103/0.346, allocations: 11.88 kB / 1.089 GB, free: 352 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.3462, allocations: 11.98 kB / 1.089 GB, free: 340 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001282/0.3464, allocations: 47.84 kB / 1.089 GB, free: 292 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.3465, allocations: 15.98 kB / 1.089 GB, free: 276 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 9.947e-05/0.3466, allocations: 23.86 kB / 1.089 GB, free: 252 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 5.746e-05/0.3467, allocations: 15.92 kB / 1.089 GB, free: 236 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.3467, allocations: 4 kB / 1.089 GB, free: 232 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.338e-05/0.3467, allocations: 4 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.3468, allocations: 7.984 kB / 1.089 GB, free: 220 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.3468, allocations: 19.88 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.347, allocations: 43.84 kB / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.347, allocations: 0 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of FrontEnd: time 2.184e-06/0.347, allocations: 0 / 1.089 GB, free: 156 kB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.347, allocations: 4 kB / 1.089 GB, free: 152 kB / 0.8419 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.000643/0.3477, allocations: 362.2 kB / 1.09 GB, free: 15.75 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.3477, allocations: 8.031 kB / 1.09 GB, free: 15.74 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/0.3478, allocations: 38.75 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.3478, allocations: 4.844 kB / 1.09 GB, free: 15.69 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.348, allocations: 173.2 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.351e-05/0.348, allocations: 4.375 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.895e-05/0.348, allocations: 8.375 kB / 1.09 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003015/0.3483, allocations: 70.16 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3483, allocations: 3.938 kB / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.3484, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.3484, allocations: 0 / 1.09 GB, free: 15.39 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003711/0.3488, allocations: 63.92 kB / 1.09 GB, free: 15.33 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.3492, allocations: 276.8 kB / 1.09 GB, free: 15.01 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002506/0.3495, allocations: 58.47 kB / 1.09 GB, free: 14.94 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002033/0.3497, allocations: 36.92 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3497, allocations: 4 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.3497, allocations: 30.56 kB / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.483e-06/0.3497, allocations: 0 / 1.09 GB, free: 14.86 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0007081/0.3505, allocations: 125.6 kB / 1.09 GB, free: 14.73 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.3505, allocations: 63.34 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001025/0.3506, allocations: 105.8 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.819e-05/0.3507, allocations: 25.7 kB / 1.091 GB, free: 14.51 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.993e-05/0.3507, allocations: 92.08 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.826e-05/0.3507, allocations: 11.81 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-05/0.3508, allocations: 17.7 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.3509, allocations: 314.8 kB / 1.091 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001909/0.3511, allocations: 27.97 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001831/0.3513, allocations: 35.95 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003513/0.3517, allocations: 69 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.3517, allocations: 0 / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004333/0.3521, allocations: 105.6 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.3522, allocations: 14.12 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.3522, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3522, allocations: 0 / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001549/0.3524, allocations: 15.98 kB / 1.091 GB, free: 13.8 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.626e-06/0.3524, allocations: 3.984 kB / 1.091 GB, free: 13.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001/0.3525, allocations: 11.98 kB / 1.091 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.256e-06/0.3525, allocations: 4 kB / 1.091 GB, free: 13.78 MB / 0.8575 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 8.756e-05/0.3526, allocations: 113.7 kB / 1.091 GB, free: 13.66 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.033e-05/0.3527, allocations: 7.906 kB / 1.091 GB, free: 13.65 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.338e-05/0.3527, allocations: 7.906 kB / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.3527, allocations: 0 / 1.091 GB, free: 13.64 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3527, allocations: 3.938 kB / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.3527, allocations: 0 / 1.091 GB, free: 13.63 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002161/0.353, allocations: 173.6 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.353, allocations: 4 kB / 1.092 GB, free: 13.41 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001264/0.3531, allocations: 15.98 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.3531, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.3531, allocations: 0 / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.24e-06/0.3532, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.3532, allocations: 4 kB / 1.092 GB, free: 13.39 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000462/0.3536, allocations: 203.3 kB / 1.092 GB, free: 13.17 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.3537, allocations: 81.02 kB / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.3537, allocations: 0 / 1.092 GB, free: 13.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001557/0.3539, allocations: 11.98 kB / 1.092 GB, free: 13.06 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/0.3539, allocations: 7.984 kB / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-06/0.354, allocations: 0 / 1.092 GB, free: 13.05 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.775e-05/0.354, allocations: 83.28 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.6e-07/0.354, allocations: 7.938 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003368/0.3544, allocations: 8 kB / 1.092 GB, free: 12.96 MB / 0.8575 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.0008342/0.3552, allocations: 0.7319 MB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004391/0.3557, allocations: 71.92 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3557, allocations: 0 / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002025/0.3559, allocations: 35.95 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.3563, allocations: 8 kB / 1.093 GB, free: 12.09 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.357, allocations: 167.1 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002801/0.3572, allocations: 0.6806 MB / 1.094 GB, free: 11.18 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.022e-05/0.3573, allocations: 4 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.49e-05/0.3574, allocations: 15.42 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of SimCode: time 2.51e-07/0.3574, allocations: 0 / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.522/5.879, allocations: 1.679 MB / 1.095 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.53/19.41, allocations: 9.859 kB / 1.095 GB, free: 9.57 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Continuous_Validation_Modulo.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Modulo.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches