Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.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.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp",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.0009156/0.0009157, allocations: 91.14 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.00179/0.00179, 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.472/1.472, allocations: 223.3 MB / 240 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.54/2.54, allocations: 409.4 MB / 0.684 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003969/0.0003971, allocations: 12 kB / 0.8378 GB, free: 6.473 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8292/0.8296, allocations: 146.8 MB / 0.9812 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Exp): time 0.001016/0.8307, allocations: 398.4 kB / 0.9815 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001194/0.8319, allocations: 0.7885 MB / 0.9823 GB, free: 5.062 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.832, allocations: 3.938 kB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.568e-05/0.832, allocations: 0 / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.289e-05/0.8321, allocations: 4 kB / 0.9823 GB, free: 5.055 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001534/0.8322, allocations: 7.984 kB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.479e-05/0.8323, allocations: 23.86 kB / 0.9823 GB, free: 5.023 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.741e-05/0.8324, allocations: 4 kB / 0.9823 GB, free: 5.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.619e-05/0.8325, allocations: 7.938 kB / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.485e-05/0.8325, allocations: 11.98 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.555e-05/0.8326, allocations: 0 / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.8326, allocations: 4 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.8326, allocations: 3.984 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.563e-05/0.8326, allocations: 33.64 kB / 0.9824 GB, free: 4.953 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 6.268e-05/0.8327, allocations: 11.97 kB / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.8327, allocations: 0 / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.444e-06/0.8327, allocations: 0 / 0.9824 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.259e-06/0.8327, allocations: 0 / 0.9824 GB, free: 4.941 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005318/0.8333, allocations: 345.6 kB / 0.9827 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.297e-05/0.8333, allocations: 12.03 kB / 0.9828 GB, free: 4.543 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.749e-05/0.8334, allocations: 30.56 kB / 0.9828 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.088e-05/0.8334, allocations: 3.984 kB / 0.9828 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.8336, allocations: 163.1 kB / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.45e-05/0.8336, allocations: 0 / 0.9829 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.8336, allocations: 4 kB / 0.9829 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002118/0.8338, allocations: 65.61 kB / 0.983 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8339, allocations: 0 / 0.983 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.8339, allocations: 0 / 0.983 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.8339, allocations: 0 / 0.983 GB, free: 4.227 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001777/0.8341, allocations: 47.91 kB / 0.9831 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003901/0.8345, allocations: 251.2 kB / 0.9833 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001441/0.8346, allocations: 46.52 kB / 0.9833 GB, free: 3.832 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.003e-05/0.8347, allocations: 28.91 kB / 0.9834 GB, free: 3.801 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.753e-05/0.8348, allocations: 7.984 kB / 0.9834 GB, free: 3.793 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.749e-05/0.8348, allocations: 30.56 kB / 0.9834 GB, free: 3.754 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.122e-06/0.8348, allocations: 3.938 kB / 0.9834 GB, free: 3.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003763/0.8352, allocations: 93.66 kB / 0.9835 GB, free: 3.652 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.057e-05/0.8353, allocations: 55.39 kB / 0.9835 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.581e-05/0.8353, allocations: 97.86 kB / 0.9836 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.007e-05/0.8354, allocations: 29.7 kB / 0.9837 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.944e-05/0.8354, allocations: 80.27 kB / 0.9837 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-05/0.8355, allocations: 15.78 kB / 0.9838 GB, free: 3.348 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.8355, allocations: 3.938 kB / 0.9838 GB, free: 3.344 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.8356, allocations: 322.8 kB / 0.9841 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.036e-05/0.8357, allocations: 15.98 kB / 0.9841 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.342e-05/0.8358, allocations: 27.98 kB / 0.9841 GB, free: 2.977 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.8359, allocations: 15.98 kB / 0.9841 GB, free: 2.961 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.8359, allocations: 3.938 kB / 0.9841 GB, free: 2.957 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002038/0.8361, allocations: 81.67 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.8361, allocations: 8 kB / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.8361, allocations: 0 / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.8362, allocations: 0 / 0.9842 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.41e-05/0.8363, allocations: 11.98 kB / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.8363, allocations: 0 / 0.9842 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.034e-05/0.8363, allocations: 11.98 kB / 0.9842 GB, free: 2.84 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.8363, allocations: 4.031 kB / 0.9842 GB, free: 2.836 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 (2): * Single equations (assignments): 2 * 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.31e-05/0.8364, allocations: 109.8 kB / 0.9844 GB, free: 2.719 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.817e-05/0.8365, allocations: 7.953 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002407/0.8367, allocations: 84.72 kB / 0.9844 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.8367, allocations: 4 kB / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.8367, allocations: 0 / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.8368, allocations: 0 / 0.9844 GB, free: 2.621 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.837, allocations: 161.6 kB / 0.9846 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.837, allocations: 0 / 0.9846 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.786e-05/0.837, allocations: 8 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.8371, allocations: 3.984 kB / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.204e-05/0.8371, allocations: 3.953 kB / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.8371, allocations: 0 / 0.9846 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.8371, allocations: 8.031 kB / 0.9846 GB, free: 2.391 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.8374, allocations: 167.5 kB / 0.9848 GB, free: 2.211 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.102e-05/0.8374, allocations: 77.14 kB / 0.9849 GB, free: 2.117 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.526e-05/0.8375, allocations: 4 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.128e-05/0.8375, allocations: 19.94 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.279e-05/0.8376, allocations: 0 / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.8376, allocations: 0 / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.8376, allocations: 79.47 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8377, allocations: 0 / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002217/0.8379, allocations: 4 kB / 0.985 GB, free: 2.012 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 (2): * Single equations (assignments): 2 * 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.0006396/0.8385, allocations: 0.7085 MB / 0.9856 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002215/0.8388, allocations: 51.94 kB / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.8388, allocations: 0 / 0.9857 GB, free: 1.227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.446e-05/0.8389, allocations: 31.98 kB / 0.9857 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003205/0.8392, allocations: 5.781 kB / 0.9857 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00045/0.8397, allocations: 134.3 kB / 0.9859 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002711/0.8399, allocations: 0.6809 MB / 0.9865 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.509e-05/0.84, allocations: 144 / 0.9865 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.84, allocations: 11.44 kB / 0.9865 GB, free: 300 kB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.84, allocations: 4.062 kB / 0.9865 GB, free: 296 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01245/0.8525, allocations: 1.018 MB / 0.9875 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001969/0.8527, allocations: 185.4 kB / 0.9877 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.789/2.642, allocations: 0 / 0.9877 GB, free: 15.17 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Exp.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Exp_res.mat does not exist to compare? outputFormat=mat