Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert",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.001084/0.001084, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00127/0.00127, allocations: 187.9 kB / 16.62 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.454/1.454, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.724/1.724, allocations: 292.3 MB / 0.549 GB, free: 12.78 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001594/0.001594, allocations: 66.55 kB / 0.6718 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2385/0.2401, allocations: 114.6 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.Assert): time 0.002081/0.2423, allocations: 0.596 MB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.244, allocations: 1.106 MB / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.541e-05/0.2441, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.624e-05/0.2442, allocations: 0 / 0.7853 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.028e-05/0.2443, allocations: 7.938 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005695/0.2449, allocations: 128.6 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.245, allocations: 95.81 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.2452, allocations: 7.984 kB / 0.7855 GB, free: 11.33 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.464e-05/0.2452, allocations: 27.98 kB / 0.7856 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.2454, allocations: 35.89 kB / 0.7856 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.624e-05/0.2454, allocations: 8 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.57e-05/0.2455, allocations: 31.91 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.451e-05/0.2455, allocations: 4 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.195e-05/0.2456, allocations: 23.92 kB / 0.7857 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001901/0.2458, allocations: 83.78 kB / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.082e-06/0.2458, allocations: 0 / 0.7857 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.527e-06/0.2458, allocations: 4 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.472e-06/0.2458, allocations: 0 / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0005459/0.2464, allocations: 373.4 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.393e-05/0.2464, allocations: 16.03 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.272e-05/0.2465, allocations: 34.75 kB / 0.7861 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.968e-05/0.2466, allocations: 4.938 kB / 0.7862 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.2467, allocations: 164.3 kB / 0.7863 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.755e-05/0.2467, allocations: 12.36 kB / 0.7863 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/0.2468, allocations: 4.375 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.2469, allocations: 34.2 kB / 0.7864 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.2469, allocations: 7.938 kB / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.477e-06/0.2469, allocations: 0 / 0.7864 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.247, allocations: 7.984 kB / 0.7864 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.139e-05/0.247, allocations: 8 kB / 0.7864 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004371/0.2474, allocations: 280.9 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.261e-05/0.2475, allocations: 22.52 kB / 0.7867 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.221e-05/0.2475, allocations: 4.859 kB / 0.7867 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.165e-06/0.2475, allocations: 7.875 kB / 0.7867 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001915/0.2477, allocations: 63.45 kB / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.2477, allocations: 0 / 0.7867 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0002074/0.248, allocations: 61.69 kB / 0.7868 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/0.248, allocations: 55.39 kB / 0.7869 GB, free: 9.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.2481, allocations: 109.7 kB / 0.787 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.003e-05/0.2482, allocations: 29.7 kB / 0.787 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.398e-05/0.2482, allocations: 92.11 kB / 0.7871 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.197e-05/0.2482, allocations: 3.938 kB / 0.7871 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.309e-05/0.2483, allocations: 33.7 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.2484, allocations: 318.8 kB / 0.7874 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.131e-05/0.2485, allocations: 23.98 kB / 0.7874 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.951e-05/0.2486, allocations: 54.73 kB / 0.7875 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001072/0.2487, allocations: 92.11 kB / 0.7876 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.2487, allocations: 4 kB / 0.7876 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0002366/0.249, allocations: 143.2 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.039e-05/0.249, allocations: 33.7 kB / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.17e-06/0.249, allocations: 0 / 0.7878 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.249, allocations: 4 kB / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.504e-05/0.2491, allocations: 0 / 0.7878 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2491, allocations: 3.984 kB / 0.7878 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.2493, allocations: 32.06 kB / 0.7878 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.133e-05/0.2493, allocations: 8 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 (booPul.y,$PRE.booPul.y,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.728e-05/0.2494, allocations: 120.6 kB / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.899e-06/0.2494, allocations: 0 / 0.7879 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.68e-05/0.2494, allocations: 11.91 kB / 0.7879 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.238e-06/0.2495, allocations: 4.297 kB / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.2495, allocations: 0 / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.447e-06/0.2495, allocations: 0 / 0.7879 GB, free: 8.582 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001091/0.2496, allocations: 165.5 kB / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2496, allocations: 0 / 0.7881 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.642e-06/0.2496, allocations: 8 kB / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.634e-06/0.2496, allocations: 0 / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.2496, allocations: 0 / 0.7881 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.285e-06/0.2496, allocations: 7.922 kB / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.2496, allocations: 0 / 0.7881 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001158/0.2498, allocations: 85 kB / 0.7882 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.858e-05/0.2498, allocations: 77.11 kB / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.2498, allocations: 0 / 0.7883 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.389e-05/0.2498, allocations: 4 kB / 0.7883 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.2499, allocations: 7.984 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.761e-06/0.2499, allocations: 4 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.498e-05/0.2499, allocations: 79.28 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2499, allocations: 0 / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002031/0.2501, allocations: 16 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004632/0.2506, allocations: 0.6289 MB / 0.789 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002276/0.2509, allocations: 115.4 kB / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.2509, allocations: 0 / 0.7891 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.084e-05/0.2509, allocations: 19.92 kB / 0.7891 GB, free: 7.25 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002252/0.2511, allocations: 7.938 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.2527, allocations: 1.365 MB / 0.7904 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002229/0.2529, allocations: 0.677 MB / 0.7911 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.712e-05/0.253, allocations: 7.984 kB / 0.7911 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.026e-05/0.253, allocations: 11.44 kB / 0.7911 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of SimCode: time 5.51e-07/0.253, allocations: 0 / 0.7911 GB, free: 5.051 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01809/0.2711, allocations: 1.959 MB / 0.793 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.785, allocations: 4.625 kB / 0.793 GB, free: 3.184 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Utilities_Validation_Assert.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Utilities.Validation.Assert.pipe 2>&1)