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.001102/0.001102, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.001261/0.001261, allocations: 168.7 kB / 15.95 MB, free: 204 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.43/1.43, allocations: 223.2 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.5/2.5, allocations: 409.4 MB / 0.684 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003376/0.0003377, allocations: 8 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7046/0.7049, allocations: 146.8 MB / 0.9812 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Obsolete.Controls.OBC.CDL.Continuous.Validation.Derivative): time 0.001507/0.7065, allocations: 1.132 MB / 0.9823 GB, free: 5.125 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0003691/0.7069, allocations: 199.5 kB / 0.9825 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.316e-05/0.7069, allocations: 0 / 0.9825 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.537e-05/0.7069, allocations: 0 / 0.9825 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001711/0.7071, allocations: 18.05 kB / 0.9825 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 8.104e-05/0.7072, allocations: 19.97 kB / 0.9825 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.755e-05/0.7073, allocations: 43.86 kB / 0.9825 GB, free: 4.852 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 7.219e-05/0.7074, allocations: 7.984 kB / 0.9825 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.347e-05/0.7074, allocations: 15.94 kB / 0.9826 GB, free: 4.828 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.789e-05/0.7075, allocations: 19.91 kB / 0.9826 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.7075, allocations: 0 / 0.9826 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.646e-06/0.7075, allocations: 4 kB / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.204e-05/0.7075, allocations: 3.938 kB / 0.9826 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.85e-05/0.7076, allocations: 37.7 kB / 0.9826 GB, free: 4.758 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.1e-05/0.7077, allocations: 35.91 kB / 0.9827 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.678e-06/0.7077, allocations: 0 / 0.9827 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7077, allocations: 0 / 0.9827 GB, free: 4.723 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.7077, allocations: 0 / 0.9827 GB, free: 4.723 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.0004358/0.7081, allocations: 370.5 kB / 0.983 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.7082, allocations: 16.03 kB / 0.983 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.7082, allocations: 30.56 kB / 0.9831 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.061e-05/0.7082, allocations: 4 kB / 0.9831 GB, free: 4.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.7084, allocations: 178.9 kB / 0.9832 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.765e-06/0.7084, allocations: 0 / 0.9832 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.916e-05/0.7084, allocations: 4 kB / 0.9832 GB, free: 4.035 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.7086, allocations: 65.62 kB / 0.9833 GB, free: 3.965 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.322e-06/0.7086, allocations: 4 kB / 0.9833 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.594e-06/0.7086, allocations: 0 / 0.9833 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.677e-06/0.7086, allocations: 0 / 0.9833 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.7088, allocations: 51.95 kB / 0.9833 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003814/0.7092, allocations: 292.8 kB / 0.9836 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/0.7094, allocations: 78.48 kB / 0.9837 GB, free: 3.488 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.07e-05/0.7095, allocations: 36.83 kB / 0.9837 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.954e-05/0.7095, allocations: 4 kB / 0.9837 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.718e-05/0.7096, allocations: 30.56 kB / 0.9838 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.7096, allocations: 0 / 0.9838 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0003599/0.7099, allocations: 125.5 kB / 0.9839 GB, free: 3.277 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.91e-05/0.71, allocations: 55.41 kB / 0.9839 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.52e-05/0.7101, allocations: 109.8 kB / 0.984 GB, free: 3.094 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.7101, allocations: 25.7 kB / 0.9841 GB, free: 3.062 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.696e-05/0.7101, allocations: 84.14 kB / 0.9842 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.7102, allocations: 15.81 kB / 0.9842 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-06/0.7102, allocations: 4 kB / 0.9842 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.7103, allocations: 314.8 kB / 0.9845 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.069e-05/0.7104, allocations: 31.98 kB / 0.9845 GB, free: 2.609 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.557e-05/0.7105, allocations: 27.97 kB / 0.9845 GB, free: 2.582 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.735e-05/0.7105, allocations: 36.11 kB / 0.9846 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.7106, allocations: 0 / 0.9846 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002076/0.7108, allocations: 105.5 kB / 0.9847 GB, free: 2.438 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.7108, allocations: 4 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.7108, allocations: 4 kB / 0.9847 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.7108, allocations: 0 / 0.9847 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.406e-05/0.7109, allocations: 19.92 kB / 0.9847 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.7109, allocations: 4 kB / 0.9847 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.578e-05/0.711, allocations: 7.984 kB / 0.9847 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.711, allocations: 0 / 0.9847 GB, free: 2.398 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 6.582e-05/0.7111, allocations: 117.8 kB / 0.9848 GB, free: 2.273 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.7111, allocations: 11.86 kB / 0.9848 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002445/0.7114, allocations: 97.48 kB / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7114, allocations: 0 / 0.9849 GB, free: 2.156 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.7114, allocations: 4 kB / 0.9849 GB, free: 2.152 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7114, allocations: 4 kB / 0.9849 GB, free: 2.148 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.7116, allocations: 173.6 kB / 0.9851 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.7116, allocations: 384 / 0.9851 GB, free: 1.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.223e-05/0.7117, allocations: 15.98 kB / 0.9851 GB, free: 1.914 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.7117, allocations: 3.953 kB / 0.9851 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.7117, allocations: 0 / 0.9851 GB, free: 1.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7117, allocations: 3.938 kB / 0.9851 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.7117, allocations: 0 / 0.9851 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003472/0.712, allocations: 231.3 kB / 0.9853 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.1e-05/0.7121, allocations: 77.11 kB / 0.9854 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.679e-05/0.7121, allocations: 12 kB / 0.9854 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.033e-05/0.7122, allocations: 8.031 kB / 0.9854 GB, free: 1.551 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.373e-05/0.7122, allocations: 7.984 kB / 0.9854 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.416e-06/0.7122, allocations: 0 / 0.9854 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.643e-05/0.7123, allocations: 87.28 kB / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7123, allocations: 0 / 0.9855 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002088/0.7125, allocations: 8 kB / 0.9855 GB, free: 1.449 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.0006476/0.7132, allocations: 0.7634 MB / 0.9863 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002101/0.7134, allocations: 60.02 kB / 0.9863 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.7134, allocations: 0 / 0.9863 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.7135, allocations: 36.08 kB / 0.9864 GB, free: 0.5625 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.7138, allocations: 11.95 kB / 0.9864 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008965/0.7147, allocations: 0.5283 MB / 0.9869 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002599/0.715, allocations: 0.6848 MB / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.715, allocations: 0 / 0.9876 GB, free: 15.26 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.275e-05/0.7151, allocations: 19.42 kB / 0.9876 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.7151, allocations: 0 / 0.9876 GB, free: 15.24 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.7264, allocations: 1.392 MB / 0.9889 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002546/0.7267, allocations: 216.4 kB / 0.9891 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.744/2.471, allocations: 1.828 kB / 0.9891 GB, free: 13.79 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