Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.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.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract",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.001027/0.001027, 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.001209/0.001209, 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.558/1.558, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.642/2.642, allocations: 409.4 MB / 0.684 GB, free: 0.8945 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003822/0.0003823, allocations: 15.98 kB / 0.8378 GB, free: 6.457 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7938/0.7942, allocations: 146.8 MB / 0.9812 GB, free: 6.234 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract): time 0.0008843/0.7951, allocations: 422.5 kB / 0.9816 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0008218/0.7959, allocations: 0.7945 MB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.796, allocations: 4 kB / 0.9823 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.717e-05/0.796, allocations: 3.938 kB / 0.9823 GB, free: 5.016 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.7961, allocations: 3.938 kB / 0.9823 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 5.816e-05/0.7962, allocations: 11.98 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.658e-05/0.7962, allocations: 39.91 kB / 0.9824 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.7964, allocations: 15.92 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.52e-05/0.7964, allocations: 11.92 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.114e-05/0.7965, allocations: 19.92 kB / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.477e-05/0.7965, allocations: 0 / 0.9824 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.997e-06/0.7965, allocations: 4 kB / 0.9824 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.394e-05/0.7965, allocations: 11.92 kB / 0.9825 GB, free: 4.898 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.267e-05/0.7966, allocations: 29.7 kB / 0.9825 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.836e-05/0.7966, allocations: 27.94 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7966, allocations: 0 / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.462e-06/0.7966, allocations: 0 / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.7967, allocations: 0 / 0.9825 GB, free: 4.836 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.0005006/0.7972, allocations: 373.5 kB / 0.9829 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.7972, allocations: 8.031 kB / 0.9829 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.068e-05/0.7973, allocations: 30.56 kB / 0.9829 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.47e-05/0.7973, allocations: 7.906 kB / 0.9829 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001421/0.7974, allocations: 171 kB / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.175e-05/0.7975, allocations: 0 / 0.9831 GB, free: 4.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.405e-05/0.7975, allocations: 4 kB / 0.9831 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002539/0.7977, allocations: 85.61 kB / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.7978, allocations: 0 / 0.9832 GB, free: 4.066 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.7978, allocations: 4 kB / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.7978, allocations: 0 / 0.9832 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/0.7981, allocations: 87.92 kB / 0.9833 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003516/0.7984, allocations: 268.9 kB / 0.9835 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.7986, allocations: 78.42 kB / 0.9836 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001491/0.7988, allocations: 48.92 kB / 0.9836 GB, free: 3.527 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.48e-05/0.7988, allocations: 4 kB / 0.9836 GB, free: 3.523 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.535e-05/0.7989, allocations: 34.56 kB / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 1.343e-06/0.7989, allocations: 0 / 0.9837 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0005287/0.7994, allocations: 165.5 kB / 0.9838 GB, free: 3.312 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.7995, allocations: 51.41 kB / 0.9839 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.83e-05/0.7996, allocations: 109.8 kB / 0.984 GB, free: 3.133 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.489e-05/0.7996, allocations: 25.7 kB / 0.984 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.7996, allocations: 84.14 kB / 0.9841 GB, free: 3.016 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-05/0.7997, allocations: 19.73 kB / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.98e-06/0.7997, allocations: 0 / 0.9841 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.7998, allocations: 322.8 kB / 0.9844 GB, free: 2.672 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001385/0.7999, allocations: 39.97 kB / 0.9844 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.8001, allocations: 56.06 kB / 0.9845 GB, free: 2.578 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.8002, allocations: 35.97 kB / 0.9845 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8002, allocations: 0 / 0.9845 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000312/0.8005, allocations: 121.6 kB / 0.9847 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.687e-05/0.8006, allocations: 8 kB / 0.9847 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/0.8006, allocations: 0 / 0.9847 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.958e-05/0.8006, allocations: 11.92 kB / 0.9847 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001302/0.8007, allocations: 15.98 kB / 0.9847 GB, free: 2.383 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.8008, allocations: 4.312 kB / 0.9847 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.982e-05/0.8008, allocations: 11.98 kB / 0.9847 GB, free: 2.367 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.8009, allocations: 8 kB / 0.9847 GB, free: 2.359 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 7.713e-05/0.8009, allocations: 109.8 kB / 0.9848 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.801, allocations: 11.86 kB / 0.9848 GB, free: 2.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.645e-05/0.801, allocations: 7.891 kB / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.801, allocations: 0 / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.801, allocations: 0 / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.801, allocations: 0 / 0.9848 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001678/0.8012, allocations: 165.7 kB / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.8012, allocations: 0 / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.934e-05/0.8013, allocations: 23.98 kB / 0.985 GB, free: 1.984 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.705e-06/0.8013, allocations: 3.953 kB / 0.985 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.758e-06/0.8013, allocations: 3.984 kB / 0.985 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.8013, allocations: 7.984 kB / 0.985 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.8013, allocations: 0 / 0.985 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000339/0.8017, allocations: 215.4 kB / 0.9852 GB, free: 1.742 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.593e-05/0.8017, allocations: 85.02 kB / 0.9853 GB, free: 1.641 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.63e-05/0.8018, allocations: 3.953 kB / 0.9853 GB, free: 1.637 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.813e-05/0.8019, allocations: 19.97 kB / 0.9853 GB, free: 1.617 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.137e-05/0.8019, allocations: 8 kB / 0.9853 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.8019, allocations: 0 / 0.9853 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.802, allocations: 83.27 kB / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.802, allocations: 0 / 0.9854 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002126/0.8022, allocations: 12 kB / 0.9854 GB, free: 1.516 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.0006343/0.8028, allocations: 0.7514 MB / 0.9862 GB, free: 0.7344 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003064/0.8031, allocations: 91.86 kB / 0.9863 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.8032, allocations: 0 / 0.9863 GB, free: 0.6445 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000138/0.8033, allocations: 47.97 kB / 0.9863 GB, free: 0.5977 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003266/0.8036, allocations: 13.44 kB / 0.9863 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.8041, allocations: 164.9 kB / 0.9865 GB, free: 396 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002566/0.8043, allocations: 0.6848 MB / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.238e-05/0.8044, allocations: 0 / 0.9871 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.528e-05/0.8044, allocations: 11.44 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of SimCode: time 2.8e-07/0.8044, allocations: 3.938 kB / 0.9872 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.8158, allocations: 1.293 MB / 0.9884 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001652/0.816, allocations: 201.5 kB / 0.9886 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.761/2.577, allocations: 0 / 0.9886 GB, free: 14.28 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Subtract.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Subtract_res.mat does not exist to compare? outputFormat=mat