Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Validation.Derivative,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.0009182/0.0009182, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009556/0.0009558, allocations: 177.3 kB / 15.94 MB, free: 228 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.459/1.459, allocations: 223.2 MB / 239.9 MB, free: 5.32 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.453/2.453, allocations: 390.3 MB / 0.6653 GB, free: 2.949 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003823/0.0003824, allocations: 12 kB / 0.8146 GB, free: 14.15 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8966/0.897, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001191/0.8982, allocations: 0.7073 MB / 0.9543 GB, free: 7.609 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.8996, allocations: 0.9889 MB / 0.9553 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.8998, allocations: 2.75 kB / 0.9553 GB, free: 6.801 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 4.805e-05/0.8999, allocations: 11.86 kB / 0.9553 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001415/0.9, allocations: 18.56 kB / 0.9553 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002987/0.9003, allocations: 51.84 kB / 0.9554 GB, free: 6.734 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002249/0.9006, allocations: 92.09 kB / 0.9554 GB, free: 6.672 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001765/0.9008, allocations: 57.73 kB / 0.9555 GB, free: 6.633 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000138/0.9009, allocations: 49.5 kB / 0.9555 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.929e-05/0.901, allocations: 62.73 kB / 0.9556 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 2.862e-05/0.901, allocations: 5.625 kB / 0.9556 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 2.23e-05/0.9011, allocations: 9.688 kB / 0.9556 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 3.027e-05/0.9011, allocations: 25.39 kB / 0.9556 GB, free: 6.531 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.184e-05/0.9012, allocations: 44.89 kB / 0.9557 GB, free: 6.488 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.9013, allocations: 120.8 kB / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.9013, allocations: 1.25 kB / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.384e-06/0.9013, allocations: 0 / 0.9558 GB, free: 6.395 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.161e-06/0.9013, allocations: 0 / 0.9558 GB, free: 6.395 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0007444/0.9021, allocations: 460.4 kB / 0.9562 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.031e-05/0.9022, allocations: 9.406 kB / 0.9562 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.258e-05/0.9022, allocations: 51.36 kB / 0.9563 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.811e-05/0.9023, allocations: 20.64 kB / 0.9563 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002253/0.9025, allocations: 209.3 kB / 0.9565 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.9025, allocations: 10.47 kB / 0.9565 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.451e-05/0.9026, allocations: 23.06 kB / 0.9565 GB, free: 5.641 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003215/0.9029, allocations: 149.5 kB / 0.9567 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.9029, allocations: 0 / 0.9567 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.93e-05/0.9029, allocations: 9.297 kB / 0.9567 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.021e-05/0.9029, allocations: 3.469 kB / 0.9567 GB, free: 5.539 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002936/0.9032, allocations: 118.3 kB / 0.9568 GB, free: 5.488 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.9043, allocations: 0.5378 MB / 0.9573 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003526/0.9046, allocations: 142.8 kB / 0.9575 GB, free: 4.938 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.727e-05/0.9047, allocations: 5.781 kB / 0.9575 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002457/0.9049, allocations: 126.2 kB / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=19): time 2.284e-06/0.905, allocations: 0 / 0.9576 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=19): time 0.0005103/0.9055, allocations: 249.1 kB / 0.9578 GB, free: 4.711 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.471e-05/0.9055, allocations: 53.53 kB / 0.9579 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.9056, allocations: 152.7 kB / 0.958 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.9056, allocations: 31.42 kB / 0.9581 GB, free: 4.488 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.9057, allocations: 122.8 kB / 0.9582 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.744e-05/0.9057, allocations: 58.83 kB / 0.9582 GB, free: 4.32 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.077e-06/0.9057, allocations: 4 kB / 0.9582 GB, free: 4.316 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.09e-05/0.9058, allocations: 331.3 kB / 0.9586 GB, free: 3.988 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001971/0.906, allocations: 66.47 kB / 0.9586 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001979/0.9062, allocations: 94.36 kB / 0.9587 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000196/0.9064, allocations: 78.55 kB / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.9064, allocations: 0 / 0.9588 GB, free: 3.871 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000451/0.9069, allocations: 225.8 kB / 0.959 GB, free: 3.754 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.9069, allocations: 13.5 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.75e-06/0.9069, allocations: 0 / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.9069, allocations: 1.844 kB / 0.959 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.9071, allocations: 39.73 kB / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.9072, allocations: 1.656 kB / 0.9591 GB, free: 3.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.9073, allocations: 33.44 kB / 0.9591 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.569e-05/0.9073, allocations: 8.438 kB / 0.9591 GB, free: 3.715 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.647e-05/0.9074, allocations: 125.8 kB / 0.9592 GB, free: 3.59 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.223e-05/0.9074, allocations: 14.97 kB / 0.9592 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004515/0.9079, allocations: 208.2 kB / 0.9594 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.9079, allocations: 1.375 kB / 0.9594 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.9079, allocations: 9.266 kB / 0.9594 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.9079, allocations: 0 / 0.9594 GB, free: 3.453 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007505/0.9087, allocations: 0.6018 MB / 0.96 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.9087, allocations: 1.375 kB / 0.96 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.9089, allocations: 37.05 kB / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.9089, allocations: 4.125 kB / 0.9601 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.665e-05/0.9089, allocations: 6.75 kB / 0.9601 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.159e-06/0.9089, allocations: 10.67 kB / 0.9601 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9089, allocations: 5.359 kB / 0.9601 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005522/0.9095, allocations: 462.5 kB / 0.9605 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.9095, allocations: 97.91 kB / 0.9606 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.01e-05/0.9096, allocations: 16.31 kB / 0.9606 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.9097, allocations: 23.8 kB / 0.9607 GB, free: 2.375 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.328e-05/0.9098, allocations: 22.25 kB / 0.9607 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.58e-05/0.9098, allocations: 10.25 kB / 0.9607 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 6.651e-05/0.9099, allocations: 115.7 kB / 0.9608 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9099, allocations: 1 kB / 0.9608 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002753/0.9102, allocations: 35.53 kB / 0.9608 GB, free: 2.258 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0008417/0.911, allocations: 1.419 MB / 0.9622 GB, free: 0.9219 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00041/0.9115, allocations: 171.8 kB / 0.9624 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9115, allocations: 1.125 kB / 0.9624 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002022/0.9117, allocations: 93.14 kB / 0.9625 GB, free: 0.8125 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.912, allocations: 23.03 kB / 0.9625 GB, free: 0.8008 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001663/0.9136, allocations: 1.212 MB / 0.9637 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002418/0.9139, allocations: 0.7223 MB / 0.9644 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 7.56e-05/0.914, allocations: 16.39 kB / 0.9644 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.69e-05/0.9141, allocations: 57.09 kB / 0.9645 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of SimCode: time 4.4e-07/0.9141, allocations: 3.938 kB / 0.9645 GB, free: 15.09 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01278/0.9269, allocations: 3.096 MB / 0.9675 GB, free: 13.67 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000204/0.9271, allocations: 190.2 kB / 0.9677 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.7/2.627, allocations: 4.906 kB / 0.9677 GB, free: 13.43 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat does not exist to compare? outputFormat=mat