Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.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.PIDScale,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale",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.0008712/0.0008712, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.000802/0.000802, allocations: 172.7 kB / 15.95 MB, free: 192 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.375/1.375, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.637/2.637, allocations: 409.4 MB / 0.684 GB, free: 0.9141 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003966, allocations: 16 kB / 0.8378 GB, free: 6.461 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8379, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale): time 0.00233/0.8403, allocations: 1.599 MB / 0.9827 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002271/0.8426, allocations: 1.537 MB / 0.9842 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.8429, allocations: 8 kB / 0.9842 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002562/0.8431, allocations: 55.39 kB / 0.9843 GB, free: 3.047 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001991/0.8434, allocations: 55.56 kB / 0.9843 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006999/0.8441, allocations: 230.9 kB / 0.9846 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0005278/0.8446, allocations: 0.5828 MB / 0.9851 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003747/0.845, allocations: 231.2 kB / 0.9853 GB, free: 1.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.8452, allocations: 175.1 kB / 0.9855 GB, free: 1.781 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002219/0.8454, allocations: 198.7 kB / 0.9857 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.8455, allocations: 20 kB / 0.9857 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.958e-05/0.8456, allocations: 27.98 kB / 0.9858 GB, free: 1.539 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.918e-05/0.8456, allocations: 79.56 kB / 0.9858 GB, free: 1.461 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001063/0.8458, allocations: 109.4 kB / 0.9859 GB, free: 1.348 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005399/0.8463, allocations: 0.61 MB / 0.9865 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.8463, allocations: 0 / 0.9865 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.523e-06/0.8463, allocations: 0 / 0.9865 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.292e-05/0.8463, allocations: 4 kB / 0.9865 GB, free: 0.7344 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001306/0.8477, allocations: 0.8173 MB / 0.9873 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.8477, allocations: 16.03 kB / 0.9873 GB, free: 15.85 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.734e-05/0.8478, allocations: 90.52 kB / 0.9874 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000104/0.8479, allocations: 63.25 kB / 0.9875 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004973/0.8484, allocations: 391.6 kB / 0.9879 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.027e-05/0.8485, allocations: 37 kB / 0.9879 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.689e-05/0.8486, allocations: 63.91 kB / 0.988 GB, free: 15.16 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008662/0.8494, allocations: 0.4989 MB / 0.9884 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.8495, allocations: 0 / 0.9884 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.392e-05/0.8495, allocations: 23.98 kB / 0.9885 GB, free: 14.63 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.237e-05/0.8495, allocations: 12 kB / 0.9885 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006611/0.8502, allocations: 367.8 kB / 0.9888 GB, free: 14.26 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002304/0.8525, allocations: 1.578 MB / 0.9904 GB, free: 12.62 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000936/0.8535, allocations: 0.8828 MB / 0.9912 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003741/0.8539, allocations: 246.6 kB / 0.9915 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 4.023e-05/0.8539, allocations: 8.703 kB / 0.9915 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004753/0.8544, allocations: 248.8 kB / 0.9917 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=47): time 2.485e-06/0.8544, allocations: 4 kB / 0.9917 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=47): time 0.001025/0.8554, allocations: 0.5493 MB / 0.9923 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.187e-05/0.8555, allocations: 111.2 kB / 0.9924 GB, free: 10.43 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004136/0.8559, allocations: 385.5 kB / 0.9927 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 4.411e-05/0.856, allocations: 37.7 kB / 0.9928 GB, free: 9.992 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001885/0.8562, allocations: 253 kB / 0.993 GB, free: 9.742 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.8563, allocations: 157.7 kB / 0.9932 GB, free: 9.586 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.8564, allocations: 12 kB / 0.9932 GB, free: 9.574 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.8565, allocations: 358.8 kB / 0.9935 GB, free: 9.215 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003932/0.8569, allocations: 181 kB / 0.9937 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004373/0.8573, allocations: 284.3 kB / 0.994 GB, free: 8.727 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004246/0.8578, allocations: 238.4 kB / 0.9942 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.8578, allocations: 0 / 0.9942 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001033/0.8588, allocations: 0.5792 MB / 0.9947 GB, free: 7.895 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001504/0.859, allocations: 178.5 kB / 0.9949 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.859, allocations: 0 / 0.9949 GB, free: 7.688 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.859, allocations: 4 kB / 0.9949 GB, free: 7.684 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003887/0.8594, allocations: 99.88 kB / 0.995 GB, free: 7.586 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/0.8595, allocations: 7.938 kB / 0.995 GB, free: 7.578 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003988/0.8599, allocations: 103.5 kB / 0.9951 GB, free: 7.477 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.8599, allocations: 23.98 kB / 0.9951 GB, free: 7.453 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.702e-06/0.8599, allocations: 4 kB / 0.9952 GB, free: 7.449 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007813/0.8607, allocations: 475.9 kB / 0.9956 GB, free: 6.977 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.8607, allocations: 4 kB / 0.9956 GB, free: 6.973 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.531e-06/0.8607, allocations: 4 kB / 0.9956 GB, free: 6.969 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002968/0.861, allocations: 87.84 kB / 0.9957 GB, free: 6.883 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.8611, allocations: 4 kB / 0.9957 GB, free: 6.879 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003422/0.8614, allocations: 87.75 kB / 0.9958 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.343e-05/0.8614, allocations: 20 kB / 0.9958 GB, free: 6.773 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition3,$whenCondition1,$whenCondition2,$PRE.pulse.booPul.y,pulse.booPul.y,pidNoSca.con1.y,pidSca.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 1 * 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.000264/0.8617, allocations: 262.3 kB / 0.9961 GB, free: 6.508 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.889e-05/0.8618, allocations: 47.55 kB / 0.9961 GB, free: 6.461 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007936/0.8626, allocations: 445.3 kB / 0.9965 GB, free: 6.016 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/0.8626, allocations: 15.98 kB / 0.9965 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.8626, allocations: 0 / 0.9965 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.8626, allocations: 0 / 0.9965 GB, free: 6 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001591/0.8642, allocations: 1.151 MB / 0.9977 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.783e-06/0.8642, allocations: 7.953 kB / 0.9977 GB, free: 4.762 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/0.8646, allocations: 83.89 kB / 0.9977 GB, free: 4.68 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/0.8646, allocations: 4 kB / 0.9978 GB, free: 4.676 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.587e-05/0.8646, allocations: 11.94 kB / 0.9978 GB, free: 4.664 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.8646, allocations: 4 kB / 0.9978 GB, free: 4.66 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.8646, allocations: 3.984 kB / 0.9978 GB, free: 4.656 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001074/0.8657, allocations: 0.7444 MB / 0.9985 GB, free: 3.875 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.8659, allocations: 140.5 kB / 0.9986 GB, free: 3.719 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.8659, allocations: 12 kB / 0.9986 GB, free: 3.707 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00021/0.8661, allocations: 35.97 kB / 0.9987 GB, free: 3.672 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.921e-05/0.8662, allocations: 23.97 kB / 0.9987 GB, free: 3.648 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-05/0.8662, allocations: 19.98 kB / 0.9987 GB, free: 3.629 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.000272/0.8665, allocations: 271.2 kB / 0.999 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8665, allocations: 0 / 0.999 GB, free: 3.367 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0006567/0.8672, allocations: 199.3 kB / 0.9992 GB, free: 3.172 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: 4 ($whenCondition3,$whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001421/0.8686, allocations: 1.313 MB / 1 GB, free: 1.816 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001406/0.87, allocations: 0.7922 MB / 1.001 GB, free: 1 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8701, allocations: 4.188 kB / 1.001 GB, free: 0.9961 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003413/0.8704, allocations: 203.5 kB / 1.001 GB, free: 0.7969 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006367/0.871, allocations: 93.81 kB / 1.002 GB, free: 0.707 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005016/0.8761, allocations: 2.931 MB / 1.004 GB, free: 13.68 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004719/0.8766, allocations: 0.8476 MB / 1.005 GB, free: 12.8 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0002468/0.8768, allocations: 59.3 kB / 1.005 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002693/0.8771, allocations: 191.4 kB / 1.005 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of SimCode: time 9.51e-07/0.8771, allocations: 0 / 1.005 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02721/0.9043, allocations: 9.667 MB / 1.015 GB, free: 3.105 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001865/0.9046, allocations: 201.5 kB / 1.015 GB, free: 2.871 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.021/2.926, allocations: 0 / 1.015 GB, free: 2.871 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDScale.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDScale_res.mat does not exist to compare? outputFormat=mat