Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.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.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Round,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round",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.001011/0.00101, allocations: 87.42 kB / 15.07 MB, free: 1.082 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.001234/0.001234, allocations: 168.7 kB / 15.95 MB, free: 200 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.431/1.431, allocations: 223.2 MB / 240 MB, free: 5.449 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.589/2.589, allocations: 409.4 MB / 0.684 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004404, allocations: 19.94 kB / 0.8378 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7309/0.7313, allocations: 146.8 MB / 0.9812 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Round): time 0.001312/0.7327, allocations: 474.2 kB / 0.9816 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.734, allocations: 0.8297 MB / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.864e-05/0.7341, allocations: 0 / 0.9824 GB, free: 4.988 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.424e-05/0.7342, allocations: 7.922 kB / 0.9824 GB, free: 4.98 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001353/0.7343, allocations: 3.938 kB / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001904/0.7345, allocations: 27.97 kB / 0.9825 GB, free: 4.949 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.7346, allocations: 67.83 kB / 0.9825 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001391/0.7348, allocations: 15.98 kB / 0.9825 GB, free: 4.867 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 9.786e-05/0.7349, allocations: 23.92 kB / 0.9826 GB, free: 4.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001084/0.735, allocations: 31.83 kB / 0.9826 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.523e-05/0.7351, allocations: 4 kB / 0.9826 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.348e-05/0.7351, allocations: 0 / 0.9826 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.547e-05/0.7351, allocations: 11.98 kB / 0.9826 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.782e-05/0.7351, allocations: 41.64 kB / 0.9826 GB, free: 4.75 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 9.434e-05/0.7353, allocations: 47.86 kB / 0.9827 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.7353, allocations: 0 / 0.9827 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7353, allocations: 0 / 0.9827 GB, free: 4.699 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.582e-06/0.7353, allocations: 0 / 0.9827 GB, free: 4.699 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005893/0.7359, allocations: 373.3 kB / 0.983 GB, free: 4.289 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.7359, allocations: 8.031 kB / 0.9831 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.736, allocations: 38.56 kB / 0.9831 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.736, allocations: 15.84 kB / 0.9831 GB, free: 4.219 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.7362, allocations: 178.8 kB / 0.9833 GB, free: 4.004 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.469e-05/0.7362, allocations: 8 kB / 0.9833 GB, free: 3.996 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.7363, allocations: 4 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002668/0.7365, allocations: 89.59 kB / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7366, allocations: 0 / 0.9834 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.64e-05/0.7366, allocations: 4 kB / 0.9834 GB, free: 3.895 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.568e-06/0.7366, allocations: 4 kB / 0.9834 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002788/0.7369, allocations: 79.88 kB / 0.9835 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006567/0.7375, allocations: 320.7 kB / 0.9838 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003017/0.7379, allocations: 90.53 kB / 0.9839 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001617/0.738, allocations: 40.94 kB / 0.9839 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.7381, allocations: 112 / 0.9839 GB, free: 3.309 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.026e-05/0.7382, allocations: 50.42 kB / 0.9839 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=6): time 1.613e-06/0.7382, allocations: 0 / 0.9839 GB, free: 3.25 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6): time 0.0006251/0.7388, allocations: 145.5 kB / 0.9841 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.027e-05/0.7389, allocations: 55.41 kB / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.7391, allocations: 121.8 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.777e-05/0.7391, allocations: 25.7 kB / 0.9843 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 9.83e-05/0.7392, allocations: 95.98 kB / 0.9844 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.501e-05/0.7393, allocations: 19.78 kB / 0.9844 GB, free: 2.758 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.287e-06/0.7393, allocations: 4 kB / 0.9844 GB, free: 2.754 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.7394, allocations: 318.8 kB / 0.9847 GB, free: 2.434 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001198/0.7396, allocations: 35.97 kB / 0.9847 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.995e-05/0.7397, allocations: 35.97 kB / 0.9848 GB, free: 2.363 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000118/0.7398, allocations: 39.94 kB / 0.9848 GB, free: 2.324 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7398, allocations: 3.938 kB / 0.9848 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0003163/0.7401, allocations: 113.5 kB / 0.9849 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.7402, allocations: 4.938 kB / 0.9849 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.7402, allocations: 4 kB / 0.9849 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.718e-05/0.7402, allocations: 0 / 0.9849 GB, free: 2.195 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001675/0.7404, allocations: 23.97 kB / 0.9849 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.287e-06/0.7404, allocations: 0 / 0.9849 GB, free: 2.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.201e-05/0.7405, allocations: 12 kB / 0.985 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.7405, allocations: 7.969 kB / 0.985 GB, free: 2.152 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 (6): * Single equations (assignments): 6 * 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 0.0001191/0.7406, allocations: 117.8 kB / 0.9851 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.585e-05/0.7407, allocations: 8.344 kB / 0.9851 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.689e-05/0.7407, allocations: 12.38 kB / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.7408, allocations: 0 / 0.9851 GB, free: 2 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.7408, allocations: 3.938 kB / 0.9851 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.7408, allocations: 0 / 0.9851 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002327/0.741, allocations: 193.6 kB / 0.9853 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.741, allocations: 7.891 kB / 0.9853 GB, free: 1.75 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001095/0.7411, allocations: 23.97 kB / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7411, allocations: 0 / 0.9853 GB, free: 1.727 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.359e-05/0.7412, allocations: 8 kB / 0.9853 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.7412, allocations: 3.938 kB / 0.9853 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.7412, allocations: 0 / 0.9853 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003329/0.7415, allocations: 211.4 kB / 0.9855 GB, free: 1.492 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.904e-05/0.7416, allocations: 92.95 kB / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.7416, allocations: 0 / 0.9856 GB, free: 1.383 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001027/0.7417, allocations: 8 kB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.992e-05/0.7418, allocations: 15.97 kB / 0.9856 GB, free: 1.359 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.851e-06/0.7418, allocations: 3.938 kB / 0.9856 GB, free: 1.355 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.265e-05/0.7419, allocations: 99.27 kB / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7419, allocations: 0 / 0.9857 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002302/0.7421, allocations: 8 kB / 0.9857 GB, free: 1.25 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 (6): * Single equations (assignments): 6 * 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.0007038/0.7428, allocations: 0.7475 MB / 0.9865 GB, free: 488 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002843/0.7431, allocations: 87.88 kB / 0.9866 GB, free: 400 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.7431, allocations: 0 / 0.9866 GB, free: 400 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001395/0.7433, allocations: 51.97 kB / 0.9866 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.7436, allocations: 0 / 0.9866 GB, free: 348 kB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001181/0.7448, allocations: 0.5857 MB / 0.9872 GB, free: 15.71 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.7451, allocations: 0.6888 MB / 0.9878 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 6.711e-05/0.7452, allocations: 12.17 kB / 0.9879 GB, free: 14.98 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.499e-05/0.7452, allocations: 23.36 kB / 0.9879 GB, free: 14.96 MB / 0.7481 GB Notification: Performance of SimCode: time 2.3e-07/0.7452, allocations: 4 kB / 0.9879 GB, free: 14.95 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01296/0.7582, allocations: 1.97 MB / 0.9898 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001872/0.7584, allocations: 191.6 kB / 0.99 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.89/2.648, allocations: 0 / 0.99 GB, free: 12.89 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Round.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Round_res.mat does not exist to compare? outputFormat=mat