Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.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.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos",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.0007952/0.0007955, allocations: 86.17 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.001178/0.001178, 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.632/1.632, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.564/2.564, allocations: 409.4 MB / 0.684 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.000344/0.000344, allocations: 15.94 kB / 0.8378 GB, free: 6.469 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8268/0.8272, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.Acos): time 0.0009221/0.8282, allocations: 394.5 kB / 0.9815 GB, free: 5.879 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009327/0.8291, allocations: 0.8002 MB / 0.9823 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.367e-05/0.8292, allocations: 0 / 0.9823 GB, free: 5.066 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.804e-05/0.8292, allocations: 7.875 kB / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.514e-05/0.8293, allocations: 0 / 0.9823 GB, free: 5.059 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001542/0.8294, allocations: 11.98 kB / 0.9823 GB, free: 5.047 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.174e-05/0.8295, allocations: 15.94 kB / 0.9823 GB, free: 5.031 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.28e-05/0.8296, allocations: 3.984 kB / 0.9824 GB, free: 5.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 6.186e-05/0.8297, allocations: 15.94 kB / 0.9824 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.8297, allocations: 7.984 kB / 0.9824 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.591e-05/0.8298, allocations: 3.984 kB / 0.9824 GB, free: 5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.102e-05/0.8298, allocations: 4 kB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.222e-05/0.8298, allocations: 4 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.8298, allocations: 29.64 kB / 0.9824 GB, free: 4.957 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 5.244e-05/0.8299, allocations: 11.97 kB / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 8.686e-06/0.8299, allocations: 0 / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.015e-06/0.8299, allocations: 0 / 0.9824 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.8299, allocations: 0 / 0.9824 GB, free: 4.945 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.0004548/0.8304, allocations: 347.3 kB / 0.9828 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.292e-05/0.8304, allocations: 12.03 kB / 0.9828 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.613e-05/0.8305, allocations: 34.5 kB / 0.9828 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.105e-05/0.8305, allocations: 0 / 0.9828 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.8306, allocations: 167.1 kB / 0.983 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.8307, allocations: 4 kB / 0.983 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.126e-05/0.8307, allocations: 0 / 0.983 GB, free: 4.301 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.8309, allocations: 63.92 kB / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.8309, allocations: 0 / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.8309, allocations: 0 / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.8309, allocations: 0 / 0.983 GB, free: 4.234 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001695/0.8311, allocations: 47.91 kB / 0.9831 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.8315, allocations: 252.9 kB / 0.9833 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001285/0.8316, allocations: 42.52 kB / 0.9834 GB, free: 3.84 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.479e-05/0.8317, allocations: 28.91 kB / 0.9834 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.8317, allocations: 0 / 0.9834 GB, free: 3.809 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.157e-05/0.8318, allocations: 34.56 kB / 0.9834 GB, free: 3.766 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=2): time 1.243e-06/0.8318, allocations: 3.938 kB / 0.9834 GB, free: 3.762 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2): time 0.0003844/0.8322, allocations: 101.6 kB / 0.9835 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.8322, allocations: 51.41 kB / 0.9836 GB, free: 3.594 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.871e-05/0.8323, allocations: 101.8 kB / 0.9837 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.06e-05/0.8324, allocations: 33.64 kB / 0.9837 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.385e-05/0.8324, allocations: 88.2 kB / 0.9838 GB, free: 3.355 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.863e-05/0.8324, allocations: 3.906 kB / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/0.8324, allocations: 0 / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001516/0.8326, allocations: 314.8 kB / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.988e-05/0.8327, allocations: 23.97 kB / 0.9841 GB, free: 3.012 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.8328, allocations: 23.98 kB / 0.9841 GB, free: 2.988 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.07e-05/0.8329, allocations: 19.98 kB / 0.9841 GB, free: 2.969 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.8329, allocations: 3.938 kB / 0.9842 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001819/0.8331, allocations: 81.67 kB / 0.9842 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.849e-05/0.8331, allocations: 5.406 kB / 0.9842 GB, free: 2.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.8331, allocations: 4 kB / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.8331, allocations: 0 / 0.9842 GB, free: 2.871 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.748e-05/0.8332, allocations: 11.98 kB / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.8332, allocations: 0 / 0.9842 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.748e-05/0.8333, allocations: 12.03 kB / 0.9843 GB, free: 2.848 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-06/0.8333, allocations: 4 kB / 0.9843 GB, free: 2.844 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 0.0001124/0.8334, allocations: 109.8 kB / 0.9844 GB, free: 2.727 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.411e-05/0.8335, allocations: 3.953 kB / 0.9844 GB, free: 2.723 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002247/0.8337, allocations: 88.72 kB / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.8337, allocations: 0 / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8337, allocations: 0 / 0.9845 GB, free: 2.633 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.8337, allocations: 4 kB / 0.9845 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001742/0.8339, allocations: 161.5 kB / 0.9846 GB, free: 2.422 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.8339, allocations: 3.984 kB / 0.9846 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.617e-05/0.834, allocations: 8 kB / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.834, allocations: 0 / 0.9846 GB, free: 2.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-06/0.834, allocations: 3.953 kB / 0.9846 GB, free: 2.406 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.834, allocations: 4.031 kB / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.834, allocations: 0 / 0.9846 GB, free: 2.402 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002337/0.8342, allocations: 175.5 kB / 0.9848 GB, free: 2.215 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.701e-05/0.8343, allocations: 85.12 kB / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.8343, allocations: 0 / 0.9849 GB, free: 2.113 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.466e-05/0.8344, allocations: 11.95 kB / 0.9849 GB, free: 2.102 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.128e-05/0.8344, allocations: 3.984 kB / 0.9849 GB, free: 2.098 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.8344, allocations: 4 kB / 0.9849 GB, free: 2.094 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.8345, allocations: 83.22 kB / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8345, allocations: 0 / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002129/0.8347, allocations: 4 kB / 0.985 GB, free: 2.008 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.0005943/0.8353, allocations: 0.7047 MB / 0.9857 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001981/0.8355, allocations: 55.89 kB / 0.9857 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.8355, allocations: 0 / 0.9857 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 7.962e-05/0.8356, allocations: 24.05 kB / 0.9857 GB, free: 1.199 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002962/0.8359, allocations: 3.953 kB / 0.9858 GB, free: 1.195 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004404/0.8364, allocations: 144.2 kB / 0.9859 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002778/0.8367, allocations: 0.677 MB / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.8367, allocations: 64 / 0.9866 GB, free: 312 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/0.8367, allocations: 19.44 kB / 0.9866 GB, free: 292 kB / 0.7325 GB Notification: Performance of SimCode: time 4.41e-07/0.8368, allocations: 0 / 0.9866 GB, free: 292 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01166/0.8484, allocations: 1.015 MB / 0.9876 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001887/0.8487, allocations: 194.3 kB / 0.9877 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.782/2.631, allocations: 0 / 0.9877 GB, free: 15.17 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_Acos.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.Acos_res.mat does not exist to compare? outputFormat=mat