Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative,fileNamePrefix="Buildings_latest_Buildings_Obsolete_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.0009039/0.0009038, 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.0009684/0.0009684, allocations: 177.3 kB / 15.95 MB, free: 216 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.293/1.293, allocations: 223.2 MB / 239.9 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.408/2.408, allocations: 409.2 MB / 0.6838 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003552/0.0003553, allocations: 8 kB / 0.8375 GB, free: 6.5 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.673, allocations: 146.8 MB / 0.9809 GB, free: 6.238 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001567/0.6746, allocations: 1.128 MB / 0.982 GB, free: 5.105 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0004219/0.6751, allocations: 211.5 kB / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.686e-05/0.6751, allocations: 0 / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.831e-05/0.6751, allocations: 0 / 0.9822 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001902/0.6753, allocations: 15.92 kB / 0.9822 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.6754, allocations: 11.98 kB / 0.9822 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.6756, allocations: 35.95 kB / 0.9822 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.6757, allocations: 11.92 kB / 0.9823 GB, free: 4.824 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 5.497e-05/0.6757, allocations: 15.94 kB / 0.9823 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.549e-05/0.6758, allocations: 23.91 kB / 0.9823 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.473e-05/0.6758, allocations: 0 / 0.9823 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.309e-05/0.6758, allocations: 4 kB / 0.9823 GB, free: 4.781 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.309e-05/0.6758, allocations: 3.938 kB / 0.9823 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.6759, allocations: 33.7 kB / 0.9823 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.794e-05/0.676, allocations: 31.91 kB / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.676, allocations: 0 / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.764e-06/0.676, allocations: 0 / 0.9824 GB, free: 4.703 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.676, allocations: 0 / 0.9824 GB, free: 4.703 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005195/0.6765, allocations: 369.4 kB / 0.9827 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.6765, allocations: 8.031 kB / 0.9827 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.946e-05/0.6766, allocations: 38.56 kB / 0.9828 GB, free: 4.242 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.6766, allocations: 3.938 kB / 0.9828 GB, free: 4.238 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001627/0.6768, allocations: 178.9 kB / 0.9829 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.668e-06/0.6768, allocations: 4 kB / 0.9829 GB, free: 4.02 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.046e-05/0.6768, allocations: 4 kB / 0.9829 GB, free: 4.016 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002044/0.677, allocations: 65.62 kB / 0.983 GB, free: 3.945 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.6771, allocations: 3.984 kB / 0.983 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.6771, allocations: 0 / 0.983 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.012e-06/0.6771, allocations: 4 kB / 0.983 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001881/0.6773, allocations: 51.97 kB / 0.9831 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004346/0.6777, allocations: 284.8 kB / 0.9833 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002878/0.678, allocations: 82.53 kB / 0.9834 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.766e-05/0.6781, allocations: 0 / 0.9834 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.096e-05/0.6781, allocations: 30.56 kB / 0.9834 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 7.42e-07/0.6781, allocations: 0 / 0.9834 GB, free: 3.43 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003839/0.6785, allocations: 121.6 kB / 0.9836 GB, free: 3.305 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.6785, allocations: 51.41 kB / 0.9836 GB, free: 3.242 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.6786, allocations: 117.8 kB / 0.9837 GB, free: 3.117 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.6786, allocations: 25.7 kB / 0.9837 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.324e-05/0.6787, allocations: 96.12 kB / 0.9838 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.6787, allocations: 15.8 kB / 0.9838 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.6787, allocations: 0 / 0.9838 GB, free: 2.973 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.6789, allocations: 322.8 kB / 0.9842 GB, free: 2.648 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.468e-05/0.679, allocations: 23.98 kB / 0.9842 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.099e-05/0.6791, allocations: 35.98 kB / 0.9842 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001048/0.6792, allocations: 31.97 kB / 0.9842 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.6792, allocations: 0 / 0.9842 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002454/0.6794, allocations: 105.5 kB / 0.9843 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.6795, allocations: 4 kB / 0.9843 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.6795, allocations: 0 / 0.9843 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.739e-06/0.6795, allocations: 0 / 0.9843 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.571e-05/0.6796, allocations: 23.98 kB / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.6796, allocations: 0 / 0.9844 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.827e-05/0.6797, allocations: 4 kB / 0.9844 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.358e-06/0.6797, allocations: 4 kB / 0.9844 GB, free: 2.414 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 (5): * Single equations (assignments): 5 * 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.394e-05/0.6798, allocations: 117.8 kB / 0.9845 GB, free: 2.289 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/0.6798, allocations: 15.84 kB / 0.9845 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002554/0.6801, allocations: 93.5 kB / 0.9846 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.6801, allocations: 7.984 kB / 0.9846 GB, free: 2.164 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.6801, allocations: 4 kB / 0.9846 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.6801, allocations: 0 / 0.9846 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.6803, allocations: 169.6 kB / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6803, allocations: 0 / 0.9848 GB, free: 1.945 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.211e-05/0.6804, allocations: 15.98 kB / 0.9848 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.6804, allocations: 3.953 kB / 0.9848 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.6804, allocations: 0 / 0.9848 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.6804, allocations: 0 / 0.9848 GB, free: 1.926 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.6804, allocations: 4 kB / 0.9848 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003993/0.6808, allocations: 227.3 kB / 0.985 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.571e-05/0.6809, allocations: 81.17 kB / 0.9851 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.6809, allocations: 3.953 kB / 0.9851 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.029e-05/0.681, allocations: 12.02 kB / 0.9851 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.234e-05/0.681, allocations: 0 / 0.9851 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.773e-06/0.6811, allocations: 4.188 kB / 0.9851 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.867e-05/0.6811, allocations: 91.58 kB / 0.9852 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/0.6811, allocations: 0 / 0.9852 GB, free: 1.477 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002196/0.6813, allocations: 12 kB / 0.9852 GB, free: 1.465 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (der1.x) * 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 (4): * Single equations (assignments): 4 * 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.0006416/0.682, allocations: 0.765 MB / 0.986 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.6822, allocations: 59.95 kB / 0.986 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.6822, allocations: 0 / 0.986 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001013/0.6823, allocations: 36.03 kB / 0.986 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002221/0.6826, allocations: 11.95 kB / 0.9861 GB, free: 0.5664 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009377/0.6835, allocations: 0.5283 MB / 0.9866 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.6838, allocations: 0.6926 MB / 0.9872 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.78e-05/0.6838, allocations: 3.984 kB / 0.9873 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.6839, allocations: 15.44 kB / 0.9873 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.6839, allocations: 0 / 0.9873 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.6944, allocations: 1.368 MB / 0.9886 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000166/0.6946, allocations: 212.8 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.609/2.303, allocations: 2.188 kB / 0.9888 GB, free: 13.82 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; mkfifo Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.pipe >> ../files/Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat --tempDir=temp_Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Obsolete_Controls_OBC_CDL_Continuous_Validation_Derivative.fmu > Buildings_latest_Buildings.Obsolete.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.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative_res.mat does not exist to compare? outputFormat=mat