Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.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.Derivative,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative",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.001392/0.001392, allocations: 99.7 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.001663/0.001663, 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 2.177/2.177, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 3.101/3.101, allocations: 409.2 MB / 0.6838 GB, free: 0.9609 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003575/0.0003575, allocations: 12 kB / 0.8375 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1/1.001, allocations: 146.8 MB / 0.9809 GB, free: 6.305 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001039/1.002, allocations: 0.7383 MB / 0.9816 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001346/1.003, allocations: 0.9909 MB / 0.9826 GB, free: 4.566 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001146/1.003, allocations: 4 kB / 0.9826 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 3.775e-05/1.003, allocations: 11.86 kB / 0.9826 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/1.004, allocations: 11.98 kB / 0.9826 GB, free: 4.539 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003248/1.004, allocations: 59.86 kB / 0.9827 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/1.004, allocations: 96.22 kB / 0.9828 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001809/1.004, allocations: 58.59 kB / 0.9828 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001211/1.005, allocations: 55.77 kB / 0.9829 GB, free: 4.266 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001179/1.005, allocations: 59.69 kB / 0.9829 GB, free: 4.207 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.75e-05/1.005, allocations: 8 kB / 0.9829 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.712e-05/1.005, allocations: 8 kB / 0.9829 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.391e-05/1.005, allocations: 27.84 kB / 0.983 GB, free: 4.164 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 5.339e-05/1.005, allocations: 41.64 kB / 0.983 GB, free: 4.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001932/1.005, allocations: 129.9 kB / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/1.005, allocations: 0 / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.833e-06/1.005, allocations: 0 / 0.9831 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.909e-06/1.005, allocations: 0 / 0.9831 GB, free: 3.992 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: 36 * Number of variables: 36 Notification: Performance of Generate backend data structure: time 0.0009675/1.006, allocations: 454.8 kB / 0.9836 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.554e-05/1.006, allocations: 12.03 kB / 0.9836 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.867e-05/1.006, allocations: 50.55 kB / 0.9836 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.545e-05/1.006, allocations: 23.7 kB / 0.9836 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002866/1.007, allocations: 211.3 kB / 0.9838 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.08e-05/1.007, allocations: 20 kB / 0.9839 GB, free: 3.141 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.987e-05/1.007, allocations: 16 kB / 0.9839 GB, free: 3.125 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003046/1.007, allocations: 157.4 kB / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/1.007, allocations: 0 / 0.984 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/1.007, allocations: 4 kB / 0.984 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.602e-06/1.007, allocations: 4 kB / 0.984 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002751/1.007, allocations: 127.8 kB / 0.9842 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001025/1.008, allocations: 0.5508 MB / 0.9847 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000356/1.009, allocations: 140.4 kB / 0.9848 GB, free: 2.086 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/1.009, allocations: 4 kB / 0.9848 GB, free: 2.082 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002632/1.009, allocations: 128.7 kB / 0.985 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=19): time 1.343e-06/1.009, allocations: 0 / 0.985 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=19): time 0.0005304/1.01, allocations: 250.8 kB / 0.9852 GB, free: 1.695 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.724e-05/1.01, allocations: 51.41 kB / 0.9852 GB, free: 1.633 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/1.01, allocations: 165.9 kB / 0.9854 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/1.01, allocations: 29.7 kB / 0.9854 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 7.254e-05/1.01, allocations: 124.4 kB / 0.9855 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.622e-05/1.01, allocations: 59.16 kB / 0.9856 GB, free: 1.246 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.008e-05/1.01, allocations: 8 kB / 0.9856 GB, free: 1.238 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001102/1.01, allocations: 322.8 kB / 0.9859 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/1.01, allocations: 75.95 kB / 0.986 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002021/1.011, allocations: 93.72 kB / 0.9861 GB, free: 0.7422 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002051/1.011, allocations: 78.22 kB / 0.9862 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/1.011, allocations: 3.953 kB / 0.9862 GB, free: 0.6641 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004619/1.011, allocations: 226.2 kB / 0.9864 GB, free: 452 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.011, allocations: 4 kB / 0.9864 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/1.011, allocations: 0 / 0.9864 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.091e-05/1.011, allocations: 0 / 0.9864 GB, free: 448 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000196/1.012, allocations: 51.91 kB / 0.9864 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/1.012, allocations: 0 / 0.9864 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/1.012, allocations: 31.83 kB / 0.9865 GB, free: 364 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.317e-05/1.012, allocations: 8 kB / 0.9865 GB, free: 356 kB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.lesThr.lesHys.y,lesThr.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 23 * 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.0001049/1.012, allocations: 125.8 kB / 0.9866 GB, free: 220 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.088e-05/1.012, allocations: 23.7 kB / 0.9866 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004247/1.012, allocations: 208.4 kB / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/1.012, allocations: 0 / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/1.012, allocations: 0 / 0.9868 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.012, allocations: 3.984 kB / 0.9868 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/1.013, allocations: 0.6008 MB / 0.9874 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/1.013, allocations: 0 / 0.9874 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001661/1.013, allocations: 39.91 kB / 0.9874 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/1.013, allocations: 4 kB / 0.9874 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.708e-05/1.013, allocations: 8 kB / 0.9874 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/1.013, allocations: 4 kB / 0.9875 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/1.013, allocations: 4 kB / 0.9875 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005805/1.014, allocations: 466.5 kB / 0.9879 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.192e-05/1.014, allocations: 104.9 kB / 0.988 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.473e-05/1.014, allocations: 4 kB / 0.988 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001542/1.014, allocations: 20.03 kB / 0.988 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.422e-05/1.014, allocations: 23.95 kB / 0.988 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/1.014, allocations: 8 kB / 0.9881 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.747e-05/1.014, allocations: 118.5 kB / 0.9882 GB, free: 14.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/1.014, allocations: 4 kB / 0.9882 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.000257/1.015, allocations: 31.94 kB / 0.9882 GB, free: 14.39 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (der1.x,intWitRes.y,der2.x) * Number of discrete variables: 2 ($whenCondition1,lesThr.lesHys.y) * Number of discrete states: 1 (lesThr.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 19 * 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.0009909/1.016, allocations: 1.426 MB / 0.9896 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003773/1.016, allocations: 167.9 kB / 0.9898 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/1.016, allocations: 0 / 0.9898 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001827/1.016, allocations: 92.28 kB / 0.9898 GB, free: 12.65 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002226/1.016, allocations: 19.98 kB / 0.9899 GB, free: 12.63 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001697/1.018, allocations: 1.248 MB / 0.9911 GB, free: 11.3 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002924/1.018, allocations: 0.7285 MB / 0.9918 GB, free: 10.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 7.108e-05/1.019, allocations: 17.61 kB / 0.9918 GB, free: 10.53 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/1.019, allocations: 55.41 kB / 0.9919 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of SimCode: time 2.7e-07/1.019, allocations: 0 / 0.9919 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3269/1.346, allocations: 3.144 MB / 0.9949 GB, free: 7.496 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000332/1.346, allocations: 191.8 kB / 0.9951 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.261/4.607, allocations: 0 / 0.9951 GB, free: 7.262 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-07 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat does not exist to compare? outputFormat=mat