Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset",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.0007877/0.0007878, allocations: 91.14 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.0008371/0.0008371, 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.466/1.466, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.578/2.578, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003827/0.0003829, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7875/0.7879, allocations: 146.8 MB / 0.9812 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset): time 0.003432/0.7914, allocations: 2.612 MB / 0.9837 GB, free: 3.633 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003077/0.7945, allocations: 1.668 MB / 0.9853 GB, free: 1.949 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007226/0.7953, allocations: 19.94 kB / 0.9854 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004343/0.7957, allocations: 114.9 kB / 0.9855 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0004445/0.7962, allocations: 75.38 kB / 0.9855 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007369/0.7969, allocations: 223.8 kB / 0.9858 GB, free: 1.523 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001087/0.798, allocations: 0.9324 MB / 0.9867 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007008/0.7987, allocations: 449.9 kB / 0.9871 GB, free: 136 kB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003215/0.7991, allocations: 242.5 kB / 0.9873 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003038/0.7994, allocations: 298 kB / 0.9876 GB, free: 15.6 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 6.092e-05/0.7994, allocations: 24 kB / 0.9876 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 5.641e-05/0.7995, allocations: 24 kB / 0.9877 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0001141/0.7996, allocations: 139.2 kB / 0.9878 GB, free: 15.42 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0001336/0.7998, allocations: 165.1 kB / 0.988 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0008272/0.8006, allocations: 0.9567 MB / 0.9889 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 7.284e-06/0.8006, allocations: 4 kB / 0.9889 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.675e-06/0.8006, allocations: 0 / 0.9889 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.339e-05/0.8007, allocations: 0 / 0.9889 GB, free: 14.29 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.001976/0.8026, allocations: 1.15 MB / 0.99 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.8027, allocations: 12.03 kB / 0.99 GB, free: 13.08 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001673/0.8029, allocations: 147.6 kB / 0.9902 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.803, allocations: 114.6 kB / 0.9903 GB, free: 12.81 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007122/0.8038, allocations: 0.5277 MB / 0.9908 GB, free: 12.24 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/0.8038, allocations: 70 kB / 0.9909 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.804, allocations: 95.98 kB / 0.9909 GB, free: 12.08 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001465/0.8054, allocations: 0.8939 MB / 0.9918 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/0.8055, allocations: 0 / 0.9918 GB, free: 11.16 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.482e-05/0.8055, allocations: 40 kB / 0.9919 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.133e-05/0.8056, allocations: 20 kB / 0.9919 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00121/0.8068, allocations: 0.6441 MB / 0.9925 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003997/0.8108, allocations: 2.861 MB / 0.9953 GB, free: 7.516 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.8123, allocations: 1.337 MB / 0.9966 GB, free: 6.027 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006327/0.813, allocations: 418 kB / 0.997 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.717e-05/0.813, allocations: 8.656 kB / 0.997 GB, free: 5.609 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007105/0.8138, allocations: 364.4 kB / 0.9974 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=74): time 2.745e-06/0.8138, allocations: 0 / 0.9974 GB, free: 5.238 MB / 0.7481 GB Notification: Performance of matching and sorting (n=74): time 0.001686/0.8155, allocations: 0.8756 MB / 0.9982 GB, free: 4.355 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001147/0.8156, allocations: 166.8 kB / 0.9984 GB, free: 4.156 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007525/0.8164, allocations: 0.5538 MB / 0.9989 GB, free: 3.594 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 6.558e-05/0.8164, allocations: 41.7 kB / 0.999 GB, free: 3.547 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003109/0.8167, allocations: 396.2 kB / 0.9993 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002164/0.817, allocations: 260.2 kB / 0.9996 GB, free: 2.895 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.757e-05/0.817, allocations: 12 kB / 0.9996 GB, free: 2.883 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.8172, allocations: 378.8 kB / 1 GB, free: 2.504 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005356/0.8177, allocations: 253.9 kB / 1 GB, free: 2.258 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005999/0.8184, allocations: 369.1 kB / 1.001 GB, free: 1.863 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005616/0.8189, allocations: 290.9 kB / 1.001 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.8189, allocations: 0 / 1.001 GB, free: 1.578 MB / 0.7481 GB Notification: Performance of matching and sorting (n=87) (initialization): time 0.00131/0.8203, allocations: 0.7193 MB / 1.002 GB, free: 0.8516 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.8204, allocations: 123.6 kB / 1.002 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.744e-06/0.8204, allocations: 0 / 1.002 GB, free: 0.7148 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.8204, allocations: 4 kB / 1.002 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005784/0.821, allocations: 163.7 kB / 1.002 GB, free: 0.5508 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.487e-05/0.821, allocations: 8 kB / 1.002 GB, free: 0.543 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000391/0.8214, allocations: 119.2 kB / 1.002 GB, free: 436 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.367e-05/0.8215, allocations: 24 kB / 1.002 GB, free: 412 kB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.8215, allocations: 4.938 kB / 1.002 GB, free: 408 kB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009444/0.8225, allocations: 0.5155 MB / 1.002 GB, free: 15.89 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.8225, allocations: 7.938 kB / 1.002 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.556e-06/0.8225, allocations: 4 kB / 1.002 GB, free: 15.88 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004523/0.8229, allocations: 127.8 kB / 1.003 GB, free: 15.75 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.282e-05/0.823, allocations: 7.938 kB / 1.003 GB, free: 15.74 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.8233, allocations: 91.44 kB / 1.003 GB, free: 15.65 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.8233, allocations: 23.95 kB / 1.003 GB, free: 15.63 MB / 0.7637 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,limPIDInp.trigger,con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 87 * 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 0.0003425/0.8237, allocations: 293 kB / 1.003 GB, free: 15.33 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-05/0.8238, allocations: 71.06 kB / 1.003 GB, free: 15.26 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001184/0.825, allocations: 0.6769 MB / 1.004 GB, free: 14.58 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.825, allocations: 8 kB / 1.004 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.825, allocations: 0 / 1.004 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.027e-06/0.825, allocations: 3.984 kB / 1.004 GB, free: 14.57 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002605/0.8276, allocations: 1.739 MB / 1.005 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.8276, allocations: 0 / 1.005 GB, free: 12.75 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005545/0.8282, allocations: 148 kB / 1.006 GB, free: 12.61 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.496e-06/0.8282, allocations: 4 kB / 1.006 GB, free: 12.6 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/0.8283, allocations: 15.98 kB / 1.006 GB, free: 12.59 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/0.8283, allocations: 8 kB / 1.006 GB, free: 12.58 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.8283, allocations: 3.938 kB / 1.006 GB, free: 12.57 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001737/0.83, allocations: 1.105 MB / 1.007 GB, free: 11.43 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001493/0.8302, allocations: 164.2 kB / 1.007 GB, free: 11.25 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.183e-05/0.8303, allocations: 16 kB / 1.007 GB, free: 11.24 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003182/0.8306, allocations: 63.89 kB / 1.007 GB, free: 11.18 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.19e-05/0.8307, allocations: 48.53 kB / 1.007 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.611e-05/0.8307, allocations: 24 kB / 1.007 GB, free: 11.11 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0004531/0.8312, allocations: 390.8 kB / 1.007 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8312, allocations: 0 / 1.007 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007703/0.832, allocations: 306.5 kB / 1.008 GB, free: 10.43 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 10 (limPIDPar.I.y,limPIDPar.D.x,intWitRes1.y,limPIDInp.I.y,limPIDInp.D.x,intWitRes2.y,limPIPar.I.y,intWitRes3.y,limPIInp.I.y,intWitRes4.y) * Number of discrete variables: 2 (limPIDInp.trigger,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 74 * 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.002095/0.8341, allocations: 1.688 MB / 1.009 GB, free: 8.695 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001762/0.8359, allocations: 0.8954 MB / 1.01 GB, free: 7.793 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.673e-06/0.8359, allocations: 11.86 kB / 1.01 GB, free: 7.781 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0005304/0.8364, allocations: 327.3 kB / 1.01 GB, free: 7.461 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007775/0.8372, allocations: 143.1 kB / 1.011 GB, free: 7.328 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/0.8446, allocations: 4.572 MB / 1.015 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005862/0.8452, allocations: 0.978 MB / 1.016 GB, free: 1.66 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003541/0.8456, allocations: 81.2 kB / 1.016 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004609/0.8461, allocations: 339.3 kB / 1.016 GB, free: 1.25 MB / 0.7637 GB Notification: Performance of SimCode: time 6.71e-07/0.8461, allocations: 4 kB / 1.016 GB, free: 1.246 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0282/0.8743, allocations: 13.41 MB / 1.03 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001762/0.8745, allocations: 199.9 kB / 1.03 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.187/3.062, allocations: 5.234 kB / 1.03 GB, free: 3.836 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithReset.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithReset_res.mat does not exist to compare? outputFormat=mat