Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController",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.0008427/0.000843, allocations: 92.16 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.001028/0.001028, 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.45/1.45, allocations: 223.3 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.502/2.502, allocations: 409.4 MB / 0.684 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0004487/0.0004487, allocations: 8 kB / 0.8378 GB, free: 6.496 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9064/0.9068, allocations: 146.8 MB / 0.9812 GB, free: 6.258 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController): time 0.001046/0.908, allocations: 441 kB / 0.9816 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.0009968/0.909, allocations: 0.8257 MB / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.532e-05/0.909, allocations: 0 / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.469e-05/0.909, allocations: 0 / 0.9824 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 6.222e-05/0.9091, allocations: 3.938 kB / 0.9824 GB, free: 4.992 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.9093, allocations: 15.98 kB / 0.9824 GB, free: 4.977 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 7.933e-05/0.9094, allocations: 39.91 kB / 0.9824 GB, free: 4.938 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.854e-05/0.9095, allocations: 4 kB / 0.9824 GB, free: 4.934 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 7.62e-05/0.9095, allocations: 23.91 kB / 0.9825 GB, free: 4.91 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.341e-05/0.9096, allocations: 19.86 kB / 0.9825 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.787e-05/0.9096, allocations: 0 / 0.9825 GB, free: 4.891 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 1.135e-05/0.9097, allocations: 4 kB / 0.9825 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.666e-05/0.9097, allocations: 11.86 kB / 0.9825 GB, free: 4.875 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.9097, allocations: 33.7 kB / 0.9825 GB, free: 4.836 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 8.35e-05/0.9098, allocations: 31.94 kB / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.9098, allocations: 0 / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.705e-06/0.9099, allocations: 0 / 0.9826 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.9099, allocations: 0 / 0.9826 GB, free: 4.805 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0007122/0.9106, allocations: 390.7 kB / 0.9829 GB, free: 4.375 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/0.9106, allocations: 8.031 kB / 0.9829 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.144e-05/0.9107, allocations: 34.56 kB / 0.983 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.9107, allocations: 3.906 kB / 0.983 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.9109, allocations: 171 kB / 0.9831 GB, free: 4.113 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.9109, allocations: 7.938 kB / 0.9831 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.911, allocations: 8 kB / 0.9832 GB, free: 4.098 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002329/0.9112, allocations: 65.62 kB / 0.9832 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.9112, allocations: 0 / 0.9832 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.575e-05/0.9112, allocations: 4 kB / 0.9832 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-06/0.9113, allocations: 0 / 0.9832 GB, free: 4.023 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.9114, allocations: 55.95 kB / 0.9833 GB, free: 3.969 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005872/0.912, allocations: 304.7 kB / 0.9836 GB, free: 3.621 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002617/0.9123, allocations: 58.55 kB / 0.9836 GB, free: 3.555 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.9124, allocations: 36.98 kB / 0.9837 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.634e-05/0.9125, allocations: 0 / 0.9837 GB, free: 3.516 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.677e-05/0.9125, allocations: 30.56 kB / 0.9837 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=3): time 8.81e-07/0.9125, allocations: 0 / 0.9837 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of matching and sorting (n=3): time 0.0004253/0.9129, allocations: 121.5 kB / 0.9838 GB, free: 3.352 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.971e-05/0.913, allocations: 51.41 kB / 0.9839 GB, free: 3.289 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/0.9131, allocations: 109.8 kB / 0.984 GB, free: 3.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.9131, allocations: 29.7 kB / 0.984 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.499e-05/0.9132, allocations: 96.06 kB / 0.9841 GB, free: 3.039 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.636e-05/0.9132, allocations: 3.906 kB / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.9132, allocations: 0 / 0.9841 GB, free: 3.035 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.9134, allocations: 322.8 kB / 0.9844 GB, free: 2.711 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001023/0.9135, allocations: 32.28 kB / 0.9844 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.657e-05/0.9136, allocations: 23.98 kB / 0.9844 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.143e-05/0.9137, allocations: 27.94 kB / 0.9845 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.9137, allocations: 0 / 0.9845 GB, free: 2.629 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001989/0.9139, allocations: 89.53 kB / 0.9846 GB, free: 2.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.9139, allocations: 11.98 kB / 0.9846 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.9139, allocations: 0 / 0.9846 GB, free: 2.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.9139, allocations: 4 kB / 0.9846 GB, free: 2.52 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.492e-05/0.914, allocations: 8 kB / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.914, allocations: 0 / 0.9846 GB, free: 2.512 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001039/0.9142, allocations: 31.88 kB / 0.9846 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.9142, allocations: 0 / 0.9846 GB, free: 2.48 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: 2 ($PRE.onOffController.y,onOffController.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 8.736e-05/0.9143, allocations: 117.8 kB / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.263e-05/0.9143, allocations: 0 / 0.9847 GB, free: 2.355 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002582/0.9145, allocations: 97.48 kB / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.9146, allocations: 0 / 0.9848 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/0.9146, allocations: 4 kB / 0.9848 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.9146, allocations: 0 / 0.9848 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001824/0.9148, allocations: 169.6 kB / 0.985 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.9148, allocations: 3.953 kB / 0.985 GB, free: 2.027 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.891e-05/0.9148, allocations: 8 kB / 0.985 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.9149, allocations: 0 / 0.985 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.143e-05/0.9149, allocations: 4 kB / 0.985 GB, free: 2.016 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.975e-06/0.9149, allocations: 3.984 kB / 0.985 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.9149, allocations: 4 kB / 0.985 GB, free: 2.008 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002422/0.9151, allocations: 179.4 kB / 0.9852 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 4.972e-05/0.9152, allocations: 81.06 kB / 0.9852 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.158e-05/0.9152, allocations: 0 / 0.9852 GB, free: 1.719 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001278/0.9154, allocations: 35.91 kB / 0.9853 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.899e-05/0.9154, allocations: 7.984 kB / 0.9853 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.198e-06/0.9154, allocations: 0 / 0.9853 GB, free: 1.676 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.997e-05/0.9155, allocations: 87.28 kB / 0.9854 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.11e-07/0.9155, allocations: 0 / 0.9854 GB, free: 1.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002163/0.9157, allocations: 4 kB / 0.9854 GB, free: 1.586 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: 1 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0005902/0.9163, allocations: 0.7245 MB / 0.9861 GB, free: 0.832 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002177/0.9165, allocations: 64.17 kB / 0.9861 GB, free: 0.7695 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.9165, allocations: 3.938 kB / 0.9862 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 8.724e-05/0.9166, allocations: 27.98 kB / 0.9862 GB, free: 0.7383 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.9169, allocations: 19.86 kB / 0.9862 GB, free: 0.7188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009676/0.9179, allocations: 488.7 kB / 0.9867 GB, free: 200 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003003/0.9182, allocations: 0.6809 MB / 0.9873 GB, free: 15.49 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 3.38e-05/0.9183, allocations: 4 kB / 0.9873 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/0.9183, allocations: 19.44 kB / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of SimCode: time 2.4e-07/0.9183, allocations: 0 / 0.9873 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01216/0.9305, allocations: 1.437 MB / 0.9888 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.9307, allocations: 195.9 kB / 0.9889 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.755/2.686, allocations: 0 / 0.9889 GB, free: 13.96 MB / 0.7481 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController_fmu --startTime=0 --stopTime=5 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_OnOffController.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController_res.mat does not exist to compare? outputFormat=mat