Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.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.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less",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.0009816/0.0009817, allocations: 86.95 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.0009767/0.0009766, 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.46/1.46, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.582/2.582, allocations: 409.4 MB / 0.684 GB, free: 0.9688 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003664/0.0003664, allocations: 12 kB / 0.8378 GB, free: 6.492 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8146/0.815, allocations: 146.8 MB / 0.9812 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Less): time 0.001138/0.8162, allocations: 0.5588 MB / 0.9817 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001134/0.8174, allocations: 0.878 MB / 0.9826 GB, free: 4.812 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.343e-05/0.8175, allocations: 3.938 kB / 0.9826 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001285/0.8176, allocations: 11.88 kB / 0.9826 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 4.224e-05/0.8177, allocations: 11.92 kB / 0.9826 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001687/0.8178, allocations: 23.97 kB / 0.9826 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.818, allocations: 83.77 kB / 0.9827 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001454/0.8181, allocations: 36.09 kB / 0.9827 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001038/0.8182, allocations: 31.86 kB / 0.9828 GB, free: 4.605 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.8183, allocations: 27.84 kB / 0.9828 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.8183, allocations: 0 / 0.9828 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.438e-05/0.8184, allocations: 4 kB / 0.9828 GB, free: 4.574 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.102e-05/0.8184, allocations: 15.92 kB / 0.9828 GB, free: 4.559 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.521e-05/0.8184, allocations: 37.64 kB / 0.9828 GB, free: 4.516 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.8185, allocations: 67.83 kB / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.751e-06/0.8186, allocations: 0 / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.874e-06/0.8186, allocations: 0 / 0.9829 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.739e-06/0.8186, allocations: 0 / 0.9829 GB, free: 4.449 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005956/0.8192, allocations: 413.2 kB / 0.9833 GB, free: 4 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.8192, allocations: 8.031 kB / 0.9833 GB, free: 3.992 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.322e-05/0.8193, allocations: 42.55 kB / 0.9834 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.152e-05/0.8193, allocations: 11.91 kB / 0.9834 GB, free: 3.93 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002264/0.8195, allocations: 198.9 kB / 0.9836 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-06/0.8196, allocations: 0 / 0.9836 GB, free: 3.695 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.9e-05/0.8196, allocations: 12 kB / 0.9836 GB, free: 3.684 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002471/0.8198, allocations: 105.5 kB / 0.9837 GB, free: 3.574 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.8199, allocations: 3.938 kB / 0.9837 GB, free: 3.57 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.256e-05/0.8199, allocations: 3.984 kB / 0.9837 GB, free: 3.566 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.8199, allocations: 4 kB / 0.9837 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.8201, allocations: 86.44 kB / 0.9838 GB, free: 3.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005195/0.8207, allocations: 356.5 kB / 0.9841 GB, free: 3.082 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.8209, allocations: 78.53 kB / 0.9842 GB, free: 2.996 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001115/0.821, allocations: 40.94 kB / 0.9842 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.821, allocations: 4 kB / 0.9842 GB, free: 2.949 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.595e-05/0.8211, allocations: 34.55 kB / 0.9842 GB, free: 2.906 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=4): time 1.142e-06/0.8211, allocations: 3.938 kB / 0.9843 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4): time 0.0004412/0.8215, allocations: 137.6 kB / 0.9844 GB, free: 2.762 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.901e-05/0.8216, allocations: 55.41 kB / 0.9844 GB, free: 2.695 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.8217, allocations: 131.3 kB / 0.9846 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.421e-05/0.8217, allocations: 33.69 kB / 0.9846 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.556e-05/0.8218, allocations: 104 kB / 0.9847 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.807e-05/0.8218, allocations: 11.89 kB / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.3e-06/0.8218, allocations: 0 / 0.9847 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.822, allocations: 322.8 kB / 0.985 GB, free: 2.078 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001135/0.8221, allocations: 35.97 kB / 0.985 GB, free: 2.043 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001032/0.8222, allocations: 39.97 kB / 0.9851 GB, free: 2.004 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001057/0.8223, allocations: 31.97 kB / 0.9851 GB, free: 1.973 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.8223, allocations: 4 kB / 0.9851 GB, free: 1.969 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002485/0.8226, allocations: 117.5 kB / 0.9852 GB, free: 1.848 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.8226, allocations: 4 kB / 0.9852 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8226, allocations: 3.984 kB / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.8226, allocations: 0 / 0.9852 GB, free: 1.84 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.8227, allocations: 19.98 kB / 0.9853 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.8227, allocations: 0 / 0.9853 GB, free: 1.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.882e-05/0.8228, allocations: 19.98 kB / 0.9853 GB, free: 1.801 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.297e-06/0.8229, allocations: 192 / 0.9853 GB, free: 1.801 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: 3 (les.y,$PRE.lesHys.lesHys.y,lesHys.lesHys.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.463e-05/0.823, allocations: 121.8 kB / 0.9854 GB, free: 1.672 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.822e-05/0.823, allocations: 7.906 kB / 0.9854 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.264e-05/0.823, allocations: 20.23 kB / 0.9854 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.823, allocations: 0 / 0.9854 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.823, allocations: 0 / 0.9854 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.8231, allocations: 0 / 0.9854 GB, free: 1.645 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.8232, allocations: 201.5 kB / 0.9856 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.8233, allocations: 0 / 0.9856 GB, free: 1.398 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.978e-05/0.8233, allocations: 19.92 kB / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.8234, allocations: 0 / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.8234, allocations: 0 / 0.9856 GB, free: 1.379 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.8234, allocations: 4 kB / 0.9856 GB, free: 1.375 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.555e-06/0.8234, allocations: 7.938 kB / 0.9856 GB, free: 1.367 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.8237, allocations: 203.4 kB / 0.9858 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.513e-05/0.8237, allocations: 89 kB / 0.9859 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.955e-05/0.8238, allocations: 3.938 kB / 0.9859 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.8239, allocations: 19.98 kB / 0.9859 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/0.824, allocations: 16.2 kB / 0.986 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/0.824, allocations: 0 / 0.986 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.954e-05/0.824, allocations: 101.9 kB / 0.9861 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8241, allocations: 0 / 0.9861 GB, free: 0.9102 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002231/0.8243, allocations: 19.91 kB / 0.9861 GB, free: 0.8906 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: 2 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000607/0.8249, allocations: 0.7475 MB / 0.9868 GB, free: 116 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002557/0.8252, allocations: 79.94 kB / 0.9869 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.8252, allocations: 0 / 0.9869 GB, free: 36 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.8253, allocations: 47.98 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003288/0.8257, allocations: 8 kB / 0.9869 GB, free: 15.98 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001129/0.8268, allocations: 0.6354 MB / 0.9876 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002658/0.8271, allocations: 0.6965 MB / 0.9882 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.75e-05/0.8271, allocations: 4.188 kB / 0.9882 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.156e-05/0.8272, allocations: 27.48 kB / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of SimCode: time 3.61e-07/0.8272, allocations: 0 / 0.9883 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01235/0.8396, allocations: 1.865 MB / 0.9901 GB, free: 12.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001788/0.8398, allocations: 191 kB / 0.9903 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.826/2.666, allocations: 0 / 0.9903 GB, free: 12.58 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Less_res.mat does not exist to compare? outputFormat=mat