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.00117/0.00117, allocations: 97.91 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.0009849/0.0009851, 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.525/1.525, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.784/2.784, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000345/0.0003452, allocations: 12 kB / 0.8375 GB, free: 6.523 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7834/0.7837, allocations: 146.8 MB / 0.9809 GB, free: 6.273 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDWithResetScale): time 0.002541/0.7863, allocations: 1.681 MB / 0.9825 GB, free: 4.594 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.7891, allocations: 1.599 MB / 0.9841 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002114/0.7894, allocations: 11.94 kB / 0.9841 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.349e-05/0.7895, allocations: 39.58 kB / 0.9841 GB, free: 2.926 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.7898, allocations: 83.67 kB / 0.9842 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008664/0.7906, allocations: 323.9 kB / 0.9845 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005723/0.7912, allocations: 433.2 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004902/0.7917, allocations: 252.7 kB / 0.9852 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000224/0.7919, allocations: 203.1 kB / 0.9854 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.7922, allocations: 218.8 kB / 0.9856 GB, free: 1.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.7923, allocations: 24 kB / 0.9856 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000102/0.7924, allocations: 32 kB / 0.9856 GB, free: 1.387 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.96e-05/0.7925, allocations: 87.53 kB / 0.9857 GB, free: 1.301 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001159/0.7926, allocations: 117.4 kB / 0.9858 GB, free: 1.18 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0006197/0.7932, allocations: 0.6645 MB / 0.9865 GB, free: 0.5156 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.528e-06/0.7933, allocations: 4 kB / 0.9865 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/0.7933, allocations: 0 / 0.9865 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.297e-06/0.7933, allocations: 0 / 0.9865 GB, free: 0.5117 MB / 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.001583/0.7949, allocations: 0.87 MB / 0.9873 GB, free: 15.58 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 6.296e-05/0.7949, allocations: 12.03 kB / 0.9873 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001265/0.7951, allocations: 94.5 kB / 0.9874 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001367/0.7952, allocations: 75.25 kB / 0.9875 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007031/0.7959, allocations: 404.8 kB / 0.9879 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.871e-05/0.796, allocations: 49.25 kB / 0.9879 GB, free: 14.91 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.443e-05/0.7961, allocations: 64 kB / 0.988 GB, free: 14.85 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001053/0.7971, allocations: 0.523 MB / 0.9885 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.7972, allocations: 0 / 0.9885 GB, free: 14.31 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/0.7972, allocations: 28 kB / 0.9885 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.415e-05/0.7973, allocations: 12 kB / 0.9886 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009002/0.7982, allocations: 381 kB / 0.9889 GB, free: 13.9 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003544/0.8017, allocations: 1.685 MB / 0.9906 GB, free: 12.15 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.8034, allocations: 0.9121 MB / 0.9915 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.572e-05/0.8034, allocations: 8.375 kB / 0.9915 GB, free: 11.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008018/0.8042, allocations: 281.3 kB / 0.9917 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=53): time 2.585e-06/0.8043, allocations: 0 / 0.9917 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of matching and sorting (n=53): time 0.002352/0.8066, allocations: 0.5962 MB / 0.9923 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001452/0.8068, allocations: 119.2 kB / 0.9924 GB, free: 10.08 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008811/0.8077, allocations: 409.5 kB / 0.9928 GB, free: 9.676 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 9.332e-05/0.8078, allocations: 41.7 kB / 0.9929 GB, free: 9.629 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003182/0.8081, allocations: 257 kB / 0.9931 GB, free: 9.371 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002617/0.8084, allocations: 173.5 kB / 0.9933 GB, free: 9.199 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.76e-05/0.8085, allocations: 16 kB / 0.9933 GB, free: 9.184 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0004242/0.8089, allocations: 354.8 kB / 0.9936 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008054/0.8097, allocations: 217 kB / 0.9938 GB, free: 8.613 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007979/0.8105, allocations: 311.4 kB / 0.9941 GB, free: 8.277 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008129/0.8114, allocations: 293.3 kB / 0.9944 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.58e-06/0.8114, allocations: 0 / 0.9944 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002066/0.8134, allocations: 0.6767 MB / 0.9951 GB, free: 7.285 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006636/0.8141, allocations: 0.6879 MB / 0.9957 GB, free: 6.535 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/0.8142, allocations: 4 kB / 0.9957 GB, free: 6.531 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.519e-05/0.8142, allocations: 4 kB / 0.9957 GB, free: 6.527 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006701/0.8149, allocations: 99.83 kB / 0.9958 GB, free: 6.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.991e-05/0.8149, allocations: 7.984 kB / 0.9958 GB, free: 6.422 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009293/0.8158, allocations: 139.4 kB / 0.996 GB, free: 6.285 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.375e-05/0.8159, allocations: 27.98 kB / 0.996 GB, free: 6.258 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.816, allocations: 5.875 kB / 0.996 GB, free: 6.254 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001506/0.8175, allocations: 0.5779 MB / 0.9966 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.8175, allocations: 0 / 0.9966 GB, free: 5.664 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8175, allocations: 8 kB / 0.9966 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.818, allocations: 83.91 kB / 0.9967 GB, free: 5.574 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.8181, allocations: 8.156 kB / 0.9967 GB, free: 5.566 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007903/0.8189, allocations: 127.4 kB / 0.9968 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.597e-05/0.819, allocations: 20 kB / 0.9968 GB, free: 5.422 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.0006322/0.8196, allocations: 274.4 kB / 0.9971 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001181/0.8197, allocations: 47.44 kB / 0.9971 GB, free: 5.098 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001321/0.8211, allocations: 485.5 kB / 0.9976 GB, free: 4.617 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-05/0.8211, allocations: 8 kB / 0.9976 GB, free: 4.609 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.744e-06/0.8211, allocations: 0 / 0.9976 GB, free: 4.609 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.8211, allocations: 7.984 kB / 0.9976 GB, free: 4.602 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002869/0.824, allocations: 1.225 MB / 0.9988 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.563e-06/0.824, allocations: 192 / 0.9988 GB, free: 3.301 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000574/0.8246, allocations: 95.83 kB / 0.9989 GB, free: 3.207 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.72e-05/0.8247, allocations: 7.953 kB / 0.9989 GB, free: 3.199 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.495e-05/0.8247, allocations: 12 kB / 0.9989 GB, free: 3.188 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.346e-06/0.8247, allocations: 7.938 kB / 0.9989 GB, free: 3.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.8247, allocations: 3.984 kB / 0.9989 GB, free: 3.176 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002173/0.8269, allocations: 0.8794 MB / 0.9998 GB, free: 2.223 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001739/0.8271, allocations: 132.6 kB / 0.9999 GB, free: 2.074 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.328e-05/0.8272, allocations: 15.95 kB / 0.9999 GB, free: 2.059 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003735/0.8276, allocations: 31.97 kB / 0.9999 GB, free: 2.027 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.8277, allocations: 36.39 kB / 1 GB, free: 1.988 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.8278, allocations: 27.92 kB / 1 GB, free: 1.961 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0005413/0.8283, allocations: 279.2 kB / 1 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.8e-07/0.8283, allocations: 0 / 1 GB, free: 1.691 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001161/0.8295, allocations: 227.2 kB / 1 GB, free: 1.469 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.002189/0.8317, allocations: 1.852 MB / 1.002 GB, free: 15.55 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.003008/0.8348, allocations: 1.025 MB / 1.003 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/0.8348, allocations: 0.625 kB / 1.003 GB, free: 14.47 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0007087/0.8355, allocations: 222.4 kB / 1.004 GB, free: 14.26 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.8365, allocations: 85.88 kB / 1.004 GB, free: 14.18 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004566/0.8411, allocations: 2.472 MB / 1.006 GB, free: 11.62 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007464/0.8419, allocations: 0.8712 MB / 1.007 GB, free: 10.72 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0005191/0.8424, allocations: 56.16 kB / 1.007 GB, free: 10.66 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005393/0.843, allocations: 203.3 kB / 1.007 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of SimCode: time 1.472e-06/0.843, allocations: 0 / 1.007 GB, free: 10.46 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4166/1.26, allocations: 10.96 MB / 1.018 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002536/1.26, allocations: 204.3 kB / 1.018 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.98/4.24, allocations: 1.875 kB / 1.018 GB, free: 15.52 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