Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.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.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt",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.0008177/0.0008178, allocations: 91.61 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.0008857/0.0008859, 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.533/1.533, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.558/2.558, allocations: 409.4 MB / 0.684 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004252/0.0004253, allocations: 16 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8252/0.8256, allocations: 146.8 MB / 0.9812 GB, free: 6.395 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt): time 0.0009246/0.8266, allocations: 390.4 kB / 0.9815 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009075/0.8275, allocations: 0.7923 MB / 0.9823 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.293e-05/0.8276, allocations: 4 kB / 0.9823 GB, free: 5.211 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.8276, allocations: 3.938 kB / 0.9823 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.8277, allocations: 0 / 0.9823 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001365/0.8278, allocations: 7.984 kB / 0.9823 GB, free: 5.199 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.007e-05/0.8279, allocations: 15.94 kB / 0.9823 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.036e-05/0.828, allocations: 15.98 kB / 0.9824 GB, free: 5.168 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.05e-05/0.8281, allocations: 4 kB / 0.9824 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.8281, allocations: 11.92 kB / 0.9824 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.8281, allocations: 4 kB / 0.9824 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-06/0.8282, allocations: 0 / 0.9824 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.155e-05/0.8282, allocations: 0 / 0.9824 GB, free: 5.148 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.175e-05/0.8282, allocations: 25.7 kB / 0.9824 GB, free: 5.117 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.775e-05/0.8283, allocations: 15.95 kB / 0.9824 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.897e-06/0.8283, allocations: 0 / 0.9824 GB, free: 5.102 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.295e-06/0.8283, allocations: 3.938 kB / 0.9824 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.8283, allocations: 4 kB / 0.9824 GB, free: 5.094 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.0004348/0.8288, allocations: 345.6 kB / 0.9827 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.349e-05/0.8288, allocations: 12.03 kB / 0.9828 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.277e-05/0.8289, allocations: 34.5 kB / 0.9828 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.8289, allocations: 0 / 0.9828 GB, free: 4.652 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.829, allocations: 167.1 kB / 0.983 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.224e-05/0.829, allocations: 8 kB / 0.983 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.005e-06/0.829, allocations: 0 / 0.983 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001714/0.8292, allocations: 53.64 kB / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.8292, allocations: 0 / 0.983 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.8292, allocations: 3.984 kB / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.8293, allocations: 0 / 0.983 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001626/0.8294, allocations: 43.97 kB / 0.9831 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003048/0.8297, allocations: 251.1 kB / 0.9833 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.8299, allocations: 58.53 kB / 0.9834 GB, free: 3.977 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.248e-05/0.83, allocations: 20.91 kB / 0.9834 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.83, allocations: 4 kB / 0.9834 GB, free: 3.949 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/0.83, allocations: 30.56 kB / 0.9834 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.83, allocations: 0 / 0.9834 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003468/0.8304, allocations: 101.6 kB / 0.9835 GB, free: 3.805 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.8304, allocations: 51.41 kB / 0.9836 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.273e-05/0.8305, allocations: 110 kB / 0.9837 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.233e-05/0.8305, allocations: 25.7 kB / 0.9837 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 4.062e-05/0.8306, allocations: 80.14 kB / 0.9838 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.92e-05/0.8306, allocations: 11.84 kB / 0.9838 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.156e-06/0.8306, allocations: 0 / 0.9838 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.8308, allocations: 314.8 kB / 0.9841 GB, free: 3.184 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.835e-05/0.8308, allocations: 19.97 kB / 0.9841 GB, free: 3.164 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.918e-05/0.8309, allocations: 27.98 kB / 0.9841 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.545e-05/0.831, allocations: 15.98 kB / 0.9841 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.831, allocations: 0 / 0.9841 GB, free: 3.121 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001843/0.8312, allocations: 89.61 kB / 0.9842 GB, free: 3.027 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.8312, allocations: 8 kB / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.8312, allocations: 0 / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.8312, allocations: 0 / 0.9842 GB, free: 3.02 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.368e-05/0.8313, allocations: 15.92 kB / 0.9842 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.8314, allocations: 0 / 0.9842 GB, free: 3.004 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.486e-05/0.8314, allocations: 12.03 kB / 0.9842 GB, free: 2.992 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.8314, allocations: 0 / 0.9842 GB, free: 2.992 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 6.91e-05/0.8315, allocations: 109.8 kB / 0.9844 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.549e-05/0.8315, allocations: 7.953 kB / 0.9844 GB, free: 2.867 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.48e-05/0.8316, allocations: 7.125 kB / 0.9844 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.8316, allocations: 0 / 0.9844 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.8316, allocations: 0 / 0.9844 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.8316, allocations: 0 / 0.9844 GB, free: 2.863 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.8317, allocations: 161.6 kB / 0.9845 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.8317, allocations: 0 / 0.9845 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.827e-05/0.8318, allocations: 11.98 kB / 0.9845 GB, free: 2.645 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.19e-06/0.8318, allocations: 4 kB / 0.9845 GB, free: 2.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.8318, allocations: 3.953 kB / 0.9845 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8318, allocations: 0 / 0.9845 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.8318, allocations: 4 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.8321, allocations: 179.4 kB / 0.9847 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.4e-05/0.8321, allocations: 77.11 kB / 0.9848 GB, free: 2.348 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.566e-05/0.8322, allocations: 7.984 kB / 0.9848 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.52e-05/0.8322, allocations: 11.98 kB / 0.9848 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.8323, allocations: 0 / 0.9848 GB, free: 2.328 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.8323, allocations: 7.984 kB / 0.9848 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.049e-05/0.8323, allocations: 75.28 kB / 0.9849 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.7e-07/0.8323, allocations: 4 kB / 0.9849 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002143/0.8326, allocations: 0 / 0.9849 GB, free: 2.242 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.0005307/0.8331, allocations: 0.7046 MB / 0.9856 GB, free: 1.512 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001998/0.8333, allocations: 55.98 kB / 0.9856 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8333, allocations: 0 / 0.9856 GB, free: 1.457 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.768e-05/0.8334, allocations: 19.98 kB / 0.9857 GB, free: 1.438 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002825/0.8337, allocations: 7.953 kB / 0.9857 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004009/0.8341, allocations: 143.6 kB / 0.9858 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002334/0.8343, allocations: 0.6809 MB / 0.9865 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.241e-05/0.8344, allocations: 0 / 0.9865 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.8344, allocations: 11.44 kB / 0.9865 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.8344, allocations: 0 / 0.9865 GB, free: 0.5234 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01088/0.8453, allocations: 1.025 MB / 0.9875 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001761/0.8455, allocations: 186.6 kB / 0.9877 GB, free: 15.4 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/2.584, allocations: 4 kB / 0.9877 GB, free: 15.39 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Sqrt.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Sqrt_res.mat does not exist to compare? outputFormat=mat