Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.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.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-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.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp",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.0008529/0.000853, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.0008269/0.0008269, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 223.2 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.466/2.466, allocations: 390.4 MB / 0.6655 GB, free: 2.973 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003571/0.0003573, allocations: 16 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7993/0.7996, allocations: 142.3 MB / 0.9539 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp): time 0.0008799/0.8006, allocations: 337.4 kB / 0.9542 GB, free: 7.895 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0009153/0.8015, allocations: 0.7856 MB / 0.955 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.027e-05/0.8016, allocations: 1.031 kB / 0.955 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.573e-05/0.8016, allocations: 0 / 0.955 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.205e-05/0.8017, allocations: 0 / 0.955 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.596e-05/0.8017, allocations: 1.562 kB / 0.955 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.906e-05/0.8018, allocations: 22.05 kB / 0.955 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.112e-05/0.8018, allocations: 1.531 kB / 0.955 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 5.934e-05/0.8019, allocations: 1.75 kB / 0.955 GB, free: 7.234 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.696e-05/0.802, allocations: 18.02 kB / 0.955 GB, free: 7.219 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.876e-05/0.802, allocations: 5.453 kB / 0.955 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.632e-06/0.802, allocations: 1.125 kB / 0.955 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.988e-06/0.802, allocations: 4 kB / 0.955 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 1.709e-05/0.802, allocations: 27.11 kB / 0.955 GB, free: 7.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 5.045e-05/0.8021, allocations: 10.12 kB / 0.955 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.8021, allocations: 0 / 0.955 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.026e-06/0.8021, allocations: 1.469 kB / 0.9551 GB, free: 7.172 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.8021, allocations: 0 / 0.9551 GB, free: 7.172 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003745/0.8025, allocations: 335.8 kB / 0.9554 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.763e-05/0.8025, allocations: 10.91 kB / 0.9554 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.671e-05/0.8026, allocations: 30.56 kB / 0.9554 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.643e-05/0.8026, allocations: 7.938 kB / 0.9554 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.8027, allocations: 164.1 kB / 0.9556 GB, free: 6.566 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.115e-05/0.8028, allocations: 5.031 kB / 0.9556 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.8028, allocations: 1.281 kB / 0.9556 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.8029, allocations: 46.5 kB / 0.9556 GB, free: 6.523 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.357e-06/0.803, allocations: 5.078 kB / 0.9556 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.803, allocations: 0 / 0.9556 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.803, allocations: 0 / 0.9556 GB, free: 6.52 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.8031, allocations: 46.67 kB / 0.9557 GB, free: 6.5 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001183/0.8033, allocations: 152.5 kB / 0.9558 GB, free: 6.305 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.8034, allocations: 40.41 kB / 0.9559 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.859e-05/0.8035, allocations: 26.66 kB / 0.9559 GB, free: 6.254 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.548e-06/0.8035, allocations: 3.938 kB / 0.9559 GB, free: 6.25 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.8035, allocations: 35.52 kB / 0.9559 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.8035, allocations: 0 / 0.9559 GB, free: 6.207 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1): time 0.0002951/0.8038, allocations: 87 kB / 0.956 GB, free: 6.156 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.467e-05/0.8038, allocations: 52.59 kB / 0.9561 GB, free: 6.094 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.091e-05/0.8039, allocations: 105.9 kB / 0.9562 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.873e-06/0.8039, allocations: 27.08 kB / 0.9562 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.034e-05/0.8039, allocations: 80.14 kB / 0.9563 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.335e-05/0.804, allocations: 9.469 kB / 0.9563 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/0.804, allocations: 4.062 kB / 0.9563 GB, free: 5.859 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.588e-05/0.804, allocations: 316.2 kB / 0.9566 GB, free: 5.543 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.8041, allocations: 20.94 kB / 0.9566 GB, free: 5.535 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.652e-05/0.8042, allocations: 21.02 kB / 0.9566 GB, free: 5.527 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.045e-05/0.8042, allocations: 20.61 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.8043, allocations: 1.062 kB / 0.9566 GB, free: 5.52 MB / 0.7169 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001674/0.8044, allocations: 70.28 kB / 0.9567 GB, free: 5.473 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.618e-05/0.8044, allocations: 10.47 kB / 0.9567 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.8045, allocations: 0 / 0.9567 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.8045, allocations: 3.938 kB / 0.9567 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.467e-05/0.8046, allocations: 7.312 kB / 0.9567 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.8046, allocations: 0 / 0.9567 GB, free: 5.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.235e-05/0.8046, allocations: 9.891 kB / 0.9567 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.623e-06/0.8046, allocations: 5.391 kB / 0.9567 GB, free: 5.457 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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 4.891e-05/0.8047, allocations: 111.5 kB / 0.9568 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.965e-06/0.8047, allocations: 0 / 0.9568 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.785e-05/0.8047, allocations: 11.94 kB / 0.9569 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.8047, allocations: 5.516 kB / 0.9569 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.8048, allocations: 0 / 0.9569 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.8048, allocations: 0 / 0.9569 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.269e-05/0.8048, allocations: 152.5 kB / 0.957 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.8048, allocations: 1.375 kB / 0.957 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.8049, allocations: 14.42 kB / 0.957 GB, free: 5.121 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.8049, allocations: 4 kB / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.802e-06/0.8049, allocations: 1.219 kB / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8049, allocations: 0 / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.8049, allocations: 0 / 0.957 GB, free: 5.117 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001785/0.8051, allocations: 103.4 kB / 0.9571 GB, free: 5.027 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.006e-05/0.8051, allocations: 86.19 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.8052, allocations: 1.219 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.826e-05/0.8052, allocations: 5.219 kB / 0.9572 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.317e-05/0.8052, allocations: 5.297 kB / 0.9572 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.8052, allocations: 5.234 kB / 0.9572 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.229e-05/0.8053, allocations: 78.09 kB / 0.9573 GB, free: 4.844 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.81e-07/0.8053, allocations: 7.969 kB / 0.9573 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001756/0.8055, allocations: 6.812 kB / 0.9573 GB, free: 4.832 MB / 0.7169 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 (1): * Single equations (assignments): 1 * 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.000377/0.8058, allocations: 0.6293 MB / 0.9579 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001826/0.806, allocations: 43.3 kB / 0.958 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.806, allocations: 4.094 kB / 0.958 GB, free: 4.203 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 7.41e-05/0.8061, allocations: 23.02 kB / 0.958 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.8063, allocations: 12.53 kB / 0.958 GB, free: 4.188 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003189/0.8067, allocations: 119.7 kB / 0.9581 GB, free: 4.039 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001145/0.8068, allocations: 0.6729 MB / 0.9588 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 2.31e-05/0.8068, allocations: 4.062 kB / 0.9588 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.269e-05/0.8069, allocations: 12.72 kB / 0.9588 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of SimCode: time 2.2e-07/0.8069, allocations: 0 / 0.9588 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01057/0.8174, allocations: 0.9631 MB / 0.9597 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001363/0.8176, allocations: 200.7 kB / 0.9599 GB, free: 2.66 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.691/2.508, allocations: 0 / 0.9599 GB, free: 2.66 MB / 0.7169 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Sources_Validation_Ramp.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Sources.Validation.Ramp_res.mat does not exist to compare? outputFormat=mat