Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.Sort,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.0008922/0.0008922, allocations: 87.03 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.0008705/0.0008706, 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.456/1.456, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.62/2.62, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003879/0.000388, allocations: 8 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8476/0.848, allocations: 146.8 MB / 0.9812 GB, free: 6.281 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sort): time 0.001171/0.8493, allocations: 0.5216 MB / 0.9817 GB, free: 5.766 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001464/0.8507, allocations: 0.9933 MB / 0.9826 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.579e-05/0.8509, allocations: 8 kB / 0.9826 GB, free: 4.754 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.931e-05/0.851, allocations: 7.938 kB / 0.9827 GB, free: 4.746 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.194e-05/0.851, allocations: 19.8 kB / 0.9827 GB, free: 4.727 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003758/0.8514, allocations: 67.86 kB / 0.9827 GB, free: 4.656 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001579/0.8516, allocations: 103.6 kB / 0.9828 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.8518, allocations: 45.31 kB / 0.9829 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.353e-05/0.8519, allocations: 35.84 kB / 0.9829 GB, free: 4.473 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.984e-05/0.852, allocations: 51.81 kB / 0.983 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.924e-05/0.852, allocations: 4 kB / 0.983 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001192/0.8521, allocations: 55.89 kB / 0.983 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 4.416e-05/0.8522, allocations: 19.92 kB / 0.983 GB, free: 4.344 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 4.227e-05/0.8522, allocations: 41.64 kB / 0.9831 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.00021/0.8525, allocations: 134 kB / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.8525, allocations: 0 / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.653e-06/0.8525, allocations: 0 / 0.9832 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.791e-06/0.8525, allocations: 0 / 0.9832 GB, free: 4.168 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0008203/0.8533, allocations: 490.7 kB / 0.9837 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/0.8534, allocations: 12.03 kB / 0.9837 GB, free: 3.629 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.991e-05/0.8535, allocations: 38.56 kB / 0.9837 GB, free: 3.582 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.354e-05/0.8535, allocations: 15.75 kB / 0.9837 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002084/0.8537, allocations: 198.9 kB / 0.9839 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.334e-05/0.8537, allocations: 4 kB / 0.9839 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.892e-05/0.8538, allocations: 8 kB / 0.9839 GB, free: 3.32 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.8543, allocations: 218.9 kB / 0.9841 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.8543, allocations: 3.984 kB / 0.9842 GB, free: 3.098 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.8544, allocations: 7.938 kB / 0.9842 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.934e-05/0.8544, allocations: 16 kB / 0.9842 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000693/0.8551, allocations: 259.8 kB / 0.9844 GB, free: 2.82 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009069/0.856, allocations: 484.3 kB / 0.9849 GB, free: 2.297 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004257/0.8565, allocations: 166.5 kB / 0.985 GB, free: 2.125 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003635/0.8568, allocations: 158.3 kB / 0.9852 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.8569, allocations: 0 / 0.9852 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.8569, allocations: 38.55 kB / 0.9852 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.242e-06/0.8569, allocations: 0 / 0.9852 GB, free: 1.922 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.001209/0.8581, allocations: 481.2 kB / 0.9857 GB, free: 1.445 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.005e-05/0.8582, allocations: 55.41 kB / 0.9857 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001331/0.8583, allocations: 152.3 kB / 0.9859 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.8583, allocations: 25.7 kB / 0.9859 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.731e-05/0.8584, allocations: 108.3 kB / 0.986 GB, free: 1.074 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.943e-05/0.8585, allocations: 51.33 kB / 0.9861 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.706e-06/0.8585, allocations: 4 kB / 0.9861 GB, free: 1.02 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.8586, allocations: 330.8 kB / 0.9864 GB, free: 0.6875 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/0.859, allocations: 135.9 kB / 0.9865 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003412/0.8593, allocations: 141 kB / 0.9866 GB, free: 428 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003572/0.8597, allocations: 143.8 kB / 0.9868 GB, free: 284 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.8597, allocations: 0 / 0.9868 GB, free: 284 kB / 0.7325 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007943/0.8605, allocations: 334.2 kB / 0.9871 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8605, allocations: 4 kB / 0.9871 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.8605, allocations: 0 / 0.9871 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8606, allocations: 7.984 kB / 0.9871 GB, free: 15.93 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002402/0.8608, allocations: 51.95 kB / 0.9872 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.8608, allocations: 0 / 0.9872 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001756/0.861, allocations: 55.8 kB / 0.9872 GB, free: 15.83 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.363e-05/0.861, allocations: 0 / 0.9872 GB, free: 15.83 MB / 0.7481 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.0001117/0.8611, allocations: 129.8 kB / 0.9873 GB, free: 15.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.8612, allocations: 11.91 kB / 0.9874 GB, free: 15.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.735e-05/0.8612, allocations: 12.84 kB / 0.9874 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.433e-05/0.8613, allocations: 11.98 kB / 0.9874 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.8613, allocations: 0 / 0.9874 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.8613, allocations: 0 / 0.9874 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002944/0.8616, allocations: 237.4 kB / 0.9876 GB, free: 15.37 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.8616, allocations: 7.938 kB / 0.9876 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002041/0.8618, allocations: 47.89 kB / 0.9877 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.8618, allocations: 0 / 0.9877 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.319e-05/0.8618, allocations: 4 kB / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.8618, allocations: 4 kB / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.8619, allocations: 0 / 0.9877 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008404/0.8627, allocations: 437.1 kB / 0.9881 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 4.454e-05/0.8628, allocations: 85.02 kB / 0.9882 GB, free: 14.77 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.2e-05/0.8628, allocations: 4 kB / 0.9882 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002015/0.863, allocations: 43.94 kB / 0.9882 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.183e-05/0.8631, allocations: 11.98 kB / 0.9882 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.346e-05/0.8631, allocations: 4 kB / 0.9882 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.052e-05/0.8632, allocations: 112.9 kB / 0.9883 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8632, allocations: 0 / 0.9883 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0002982/0.8635, allocations: 51.84 kB / 0.9884 GB, free: 14.54 MB / 0.7481 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 (7): * Single equations (assignments): 5 * Array equations: 2 * 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.001443/0.8649, allocations: 0.9816 MB / 0.9893 GB, free: 13.54 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0008439/0.8658, allocations: 307.8 kB / 0.9896 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.8658, allocations: 3.938 kB / 0.9896 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003995/0.8662, allocations: 164.4 kB / 0.9898 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003679/0.8666, allocations: 21.47 kB / 0.9898 GB, free: 13.05 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.8689, allocations: 1.196 MB / 0.991 GB, free: 11.81 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003093/0.8692, allocations: 0.7201 MB / 0.9917 GB, free: 11.06 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 9.661e-05/0.8693, allocations: 19.91 kB / 0.9917 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.132e-05/0.8694, allocations: 35.44 kB / 0.9917 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.8694, allocations: 0 / 0.9917 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01522/0.8846, allocations: 2.988 MB / 0.9947 GB, free: 8.176 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001906/0.8849, allocations: 191.6 kB / 0.9948 GB, free: 7.941 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.949/2.834, allocations: 0 / 0.9948 GB, free: 7.941 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort_res.mat does not exist to compare? outputFormat=mat