Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.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.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Add,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add",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.0009814/0.0009821, 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.001247/0.001248, 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.5/1.5, allocations: 223.2 MB / 240 MB, free: 5.227 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.608/2.608, allocations: 409.4 MB / 0.684 GB, free: 0.9727 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003648, allocations: 16 kB / 0.8378 GB, free: 6.52 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7959/0.7963, allocations: 146.8 MB / 0.9812 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Add): time 0.001001/0.7974, allocations: 422.4 kB / 0.9816 GB, free: 5.883 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.000959/0.7983, allocations: 0.8023 MB / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.478e-05/0.7984, allocations: 0 / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.86e-05/0.7984, allocations: 0 / 0.9823 GB, free: 5.07 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 8.124e-05/0.7985, allocations: 7.922 kB / 0.9824 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.837e-05/0.7986, allocations: 8 kB / 0.9824 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.719e-05/0.7987, allocations: 35.91 kB / 0.9824 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001086/0.7988, allocations: 12 kB / 0.9824 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.7988, allocations: 15.92 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.039e-05/0.7989, allocations: 19.91 kB / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.68e-05/0.7989, allocations: 0 / 0.9824 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.213e-05/0.7989, allocations: 7.938 kB / 0.9824 GB, free: 4.965 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.709e-05/0.799, allocations: 15.86 kB / 0.9825 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.992e-05/0.799, allocations: 29.7 kB / 0.9825 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.164e-05/0.7991, allocations: 23.94 kB / 0.9825 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.7991, allocations: 4 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.314e-06/0.7991, allocations: 0 / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.441e-06/0.7991, allocations: 0 / 0.9825 GB, free: 4.887 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005459/0.7997, allocations: 369.5 kB / 0.9829 GB, free: 4.477 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/0.7997, allocations: 8.031 kB / 0.9829 GB, free: 4.469 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.561e-05/0.7998, allocations: 42.55 kB / 0.9829 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.8e-05/0.7998, allocations: 3.906 kB / 0.9829 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.8, allocations: 167 kB / 0.9831 GB, free: 4.211 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.8, allocations: 4 kB / 0.9831 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.42e-05/0.8, allocations: 4 kB / 0.9831 GB, free: 4.203 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/0.8003, allocations: 81.61 kB / 0.9832 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.8003, allocations: 3.984 kB / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.8003, allocations: 0 / 0.9832 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.413e-06/0.8003, allocations: 4 kB / 0.9832 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002812/0.8006, allocations: 87.92 kB / 0.9833 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004148/0.801, allocations: 264.9 kB / 0.9835 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.8012, allocations: 78.42 kB / 0.9836 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001453/0.8014, allocations: 52.92 kB / 0.9836 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.44e-05/0.8014, allocations: 4 kB / 0.9836 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.8014, allocations: 30.56 kB / 0.9837 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.8015, allocations: 0 / 0.9837 GB, free: 3.531 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.000523/0.802, allocations: 161.5 kB / 0.9838 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.802, allocations: 55.41 kB / 0.9839 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.8022, allocations: 113.8 kB / 0.984 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.594e-05/0.8022, allocations: 25.7 kB / 0.984 GB, free: 3.148 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.394e-05/0.8022, allocations: 88.12 kB / 0.9841 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.8023, allocations: 19.73 kB / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.58e-06/0.8023, allocations: 4 kB / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.8024, allocations: 310.8 kB / 0.9844 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001353/0.8026, allocations: 43.97 kB / 0.9845 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.8027, allocations: 43.95 kB / 0.9845 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001272/0.8028, allocations: 39.97 kB / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.8029, allocations: 0 / 0.9845 GB, free: 2.598 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003076/0.8032, allocations: 125.5 kB / 0.9847 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.742e-05/0.8032, allocations: 4 kB / 0.9847 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.167e-06/0.8032, allocations: 7.984 kB / 0.9847 GB, free: 2.457 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.8032, allocations: 3.938 kB / 0.9847 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001296/0.8034, allocations: 19.98 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.8034, allocations: 7.938 kB / 0.9847 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.8035, allocations: 15.98 kB / 0.9847 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.8035, allocations: 0 / 0.9847 GB, free: 2.41 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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.843e-05/0.8036, allocations: 113.8 kB / 0.9848 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.825e-05/0.8036, allocations: 11.86 kB / 0.9848 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.229e-05/0.8036, allocations: 11.89 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.407e-06/0.8037, allocations: 0 / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.8037, allocations: 0 / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.8037, allocations: 0 / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001769/0.8039, allocations: 161.7 kB / 0.985 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.163e-06/0.8039, allocations: 0 / 0.985 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.804, allocations: 23.98 kB / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.804, allocations: 7.938 kB / 0.985 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.804, allocations: 8 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.804, allocations: 0 / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.462e-06/0.804, allocations: 0 / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003838/0.8044, allocations: 215.7 kB / 0.9852 GB, free: 1.789 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.937e-05/0.8045, allocations: 81.02 kB / 0.9853 GB, free: 1.691 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.8045, allocations: 3.953 kB / 0.9853 GB, free: 1.688 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.8046, allocations: 27.97 kB / 0.9853 GB, free: 1.66 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.177e-05/0.8047, allocations: 4 kB / 0.9854 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.8047, allocations: 0 / 0.9854 GB, free: 1.656 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.386e-05/0.8047, allocations: 87.27 kB / 0.9854 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8047, allocations: 0 / 0.9854 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002268/0.805, allocations: 8 kB / 0.9854 GB, free: 1.562 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0007978/0.8058, allocations: 0.7514 MB / 0.9862 GB, free: 0.7812 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000334/0.8061, allocations: 87.92 kB / 0.9863 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.8061, allocations: 0 / 0.9863 GB, free: 0.6953 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001429/0.8063, allocations: 47.97 kB / 0.9863 GB, free: 0.6484 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.8066, allocations: 9.078 kB / 0.9863 GB, free: 0.6406 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004886/0.8071, allocations: 166.2 kB / 0.9865 GB, free: 448 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.8075, allocations: 0.677 MB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.624e-05/0.8075, allocations: 8 kB / 0.9871 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.835e-05/0.8076, allocations: 15.42 kB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of SimCode: time 3.7e-07/0.8076, allocations: 3.938 kB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01199/0.8196, allocations: 1.292 MB / 0.9884 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.8198, allocations: 189.3 kB / 0.9886 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.84/2.66, allocations: 0 / 0.9886 GB, free: 14.32 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Add.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Add_res.mat does not exist to compare? outputFormat=mat