Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.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.PIDWithResetScale,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale",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.0008867/0.0008868, allocations: 91.84 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.000902/0.0009021, 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.423/1.423, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.738/2.738, allocations: 409.4 MB / 0.684 GB, free: 0.8555 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 16 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7714/0.7718, allocations: 146.8 MB / 0.9812 GB, free: 6.23 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002322/0.7742, allocations: 1.661 MB / 0.9828 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002489/0.7767, allocations: 1.631 MB / 0.9844 GB, free: 2.922 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004269/0.7772, allocations: 11.94 kB / 0.9844 GB, free: 2.91 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002929/0.7775, allocations: 59.38 kB / 0.9844 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002951/0.7778, allocations: 59.56 kB / 0.9845 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.7788, allocations: 317.2 kB / 0.9848 GB, free: 2.488 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000864/0.7797, allocations: 0.6569 MB / 0.9854 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004778/0.7802, allocations: 252.7 kB / 0.9857 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003341/0.7805, allocations: 207.1 kB / 0.9859 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.7809, allocations: 218.7 kB / 0.9861 GB, free: 1.156 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 9.617e-05/0.781, allocations: 24 kB / 0.9861 GB, free: 1.133 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001218/0.7811, allocations: 35.98 kB / 0.9862 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.822e-05/0.7812, allocations: 83.55 kB / 0.9862 GB, free: 1.016 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001439/0.7814, allocations: 121.3 kB / 0.9863 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000653/0.782, allocations: 0.6684 MB / 0.987 GB, free: 228 kB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.782, allocations: 0 / 0.987 GB, free: 228 kB / 0.7325 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7821, allocations: 4 kB / 0.987 GB, free: 224 kB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.721e-05/0.7821, allocations: 4 kB / 0.987 GB, free: 220 kB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001753/0.7838, allocations: 0.8663 MB / 0.9879 GB, free: 15.28 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.525e-05/0.7839, allocations: 16.03 kB / 0.9879 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001539/0.7841, allocations: 90.52 kB / 0.988 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001771/0.7842, allocations: 71.25 kB / 0.988 GB, free: 15.1 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006046/0.7849, allocations: 408.8 kB / 0.9884 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.175e-05/0.7849, allocations: 45.3 kB / 0.9885 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.785, allocations: 64 kB / 0.9885 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001024/0.7861, allocations: 0.5306 MB / 0.989 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.744e-05/0.7861, allocations: 7.938 kB / 0.989 GB, free: 14 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.306e-05/0.7862, allocations: 20 kB / 0.9891 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/0.7862, allocations: 15.98 kB / 0.9891 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007658/0.787, allocations: 381 kB / 0.9894 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00265/0.7896, allocations: 1.689 MB / 0.9911 GB, free: 11.84 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009902/0.7906, allocations: 0.904 MB / 0.992 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005949/0.7912, allocations: 259.3 kB / 0.9922 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.415e-05/0.7913, allocations: 8.422 kB / 0.9922 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005602/0.7919, allocations: 285.3 kB / 0.9925 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 4.288e-06/0.7919, allocations: 0 / 0.9925 GB, free: 10.26 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53): time 0.001206/0.7931, allocations: 0.6 MB / 0.9931 GB, free: 9.656 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.7932, allocations: 111.2 kB / 0.9932 GB, free: 9.523 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006474/0.7939, allocations: 401.5 kB / 0.9936 GB, free: 9.125 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 8.359e-05/0.794, allocations: 41.7 kB / 0.9936 GB, free: 9.078 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002686/0.7942, allocations: 265.1 kB / 0.9939 GB, free: 8.812 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.7944, allocations: 173.5 kB / 0.994 GB, free: 8.641 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.197e-05/0.7945, allocations: 12 kB / 0.994 GB, free: 8.629 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.7947, allocations: 358.8 kB / 0.9944 GB, free: 8.27 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005754/0.7953, allocations: 221 kB / 0.9946 GB, free: 8.051 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006915/0.796, allocations: 311.4 kB / 0.9949 GB, free: 7.719 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006043/0.7966, allocations: 285.4 kB / 0.9952 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.129e-06/0.7966, allocations: 0 / 0.9952 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00152/0.7981, allocations: 0.6768 MB / 0.9958 GB, free: 6.734 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.000256/0.7984, allocations: 207.5 kB / 0.996 GB, free: 6.488 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.7984, allocations: 4 kB / 0.996 GB, free: 6.484 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.442e-05/0.7985, allocations: 4 kB / 0.996 GB, free: 6.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004606/0.7989, allocations: 103.8 kB / 0.9961 GB, free: 6.379 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/0.799, allocations: 4 kB / 0.9961 GB, free: 6.375 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006635/0.7996, allocations: 140.7 kB / 0.9963 GB, free: 6.238 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.059e-05/0.7997, allocations: 31.98 kB / 0.9963 GB, free: 6.207 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.7998, allocations: 4 kB / 0.9963 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001108/0.8009, allocations: 0.578 MB / 0.9969 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.623e-06/0.8009, allocations: 0 / 0.9969 GB, free: 5.617 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.798e-06/0.8009, allocations: 4 kB / 0.9969 GB, free: 5.613 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003172/0.8012, allocations: 95.98 kB / 0.997 GB, free: 5.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/0.8012, allocations: 4 kB / 0.997 GB, free: 5.516 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005416/0.8018, allocations: 121.4 kB / 0.9971 GB, free: 5.398 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.342e-05/0.8019, allocations: 23.98 kB / 0.9971 GB, free: 5.375 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition6,$whenCondition5,$PRE.booPul.y,booPul.y,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 2 * 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.0003726/0.8022, allocations: 268.9 kB / 0.9974 GB, free: 5.102 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.978e-05/0.8023, allocations: 51.34 kB / 0.9974 GB, free: 5.051 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000948/0.8033, allocations: 485.6 kB / 0.9979 GB, free: 4.57 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.148e-05/0.8033, allocations: 11.94 kB / 0.9979 GB, free: 4.559 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.617e-05/0.8034, allocations: 7.938 kB / 0.9979 GB, free: 4.551 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.736e-06/0.8034, allocations: 3.938 kB / 0.9979 GB, free: 4.547 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002614/0.806, allocations: 1.229 MB / 0.9991 GB, free: 3.242 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/0.806, allocations: 3.984 kB / 0.9991 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004034/0.8064, allocations: 95.78 kB / 0.9992 GB, free: 3.145 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.524e-05/0.8065, allocations: 4 kB / 0.9992 GB, free: 3.141 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.195e-05/0.8065, allocations: 19.98 kB / 0.9992 GB, free: 3.121 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.104e-06/0.8065, allocations: 4 kB / 0.9992 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.8065, allocations: 0 / 0.9992 GB, free: 3.117 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001331/0.8079, allocations: 0.803 MB / 1 GB, free: 2.273 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001345/0.808, allocations: 132.5 kB / 1 GB, free: 2.125 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.394e-05/0.8081, allocations: 19.95 kB / 1 GB, free: 2.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002249/0.8083, allocations: 31.97 kB / 1 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.132e-05/0.8084, allocations: 36.39 kB / 1 GB, free: 2.039 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.8084, allocations: 16 kB / 1 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003332/0.8088, allocations: 279.2 kB / 1 GB, free: 1.754 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.8088, allocations: 4 kB / 1.001 GB, free: 1.75 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008025/0.8096, allocations: 231.2 kB / 1.001 GB, free: 1.523 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 6 (pidSca.I.y,pidSca.D.x,pla1.y,pidNoSca.I.y,pidNoSca.D.x,pla2.y) * Number of discrete variables: 8 ($whenCondition6,$whenCondition5,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,pulse.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001803/0.8114, allocations: 1.371 MB / 1.002 GB, free: 112 kB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001956/0.8134, allocations: 1.013 MB / 1.003 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 7.564e-06/0.8134, allocations: 4.625 kB / 1.003 GB, free: 15.04 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0003909/0.8138, allocations: 226.4 kB / 1.003 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006773/0.8145, allocations: 99.17 kB / 1.003 GB, free: 14.73 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005656/0.8202, allocations: 3.195 MB / 1.006 GB, free: 11.45 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005704/0.8208, allocations: 0.8596 MB / 1.007 GB, free: 10.57 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002789/0.8211, allocations: 64.14 kB / 1.007 GB, free: 10.5 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.8214, allocations: 195.4 kB / 1.008 GB, free: 10.31 MB / 0.7637 GB Notification: Performance of SimCode: time 1.563e-06/0.8214, allocations: 4 kB / 1.008 GB, free: 10.3 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.8485, allocations: 11.22 MB / 1.019 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001853/0.8487, allocations: 215 kB / 1.019 GB, free: 15.11 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.116/2.965, allocations: 4 kB / 1.019 GB, free: 15.1 MB / 0.7794 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDWithResetScale.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale_res.mat does not exist to compare? outputFormat=mat