Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.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.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff,fileNamePrefix="Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff",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.0008257/0.0008257, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004682/0.004682, allocations: 171.9 kB / 16.26 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.177/1.177, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.551/1.551, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0005155/0.0005158, allocations: 10.81 kB / 0.6744 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2089/0.2094, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff): time 0.00209/0.2115, allocations: 1.554 MB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001565/0.2131, allocations: 0.968 MB / 0.7904 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000113/0.2132, allocations: 0 / 0.7904 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001782/0.2134, allocations: 27.78 kB / 0.7905 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.2137, allocations: 83.67 kB / 0.7906 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003454/0.2141, allocations: 138.9 kB / 0.7907 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0002699/0.2144, allocations: 239.3 kB / 0.7909 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001178/0.2145, allocations: 33.95 kB / 0.7909 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000152/0.2147, allocations: 95.61 kB / 0.791 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.05096/0.2656, allocations: 3.611 MB / 0.7946 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.883e-05/0.2657, allocations: 12 kB / 0.7946 GB, free: 5.613 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.2658, allocations: 23.98 kB / 0.7946 GB, free: 5.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.62e-05/0.2659, allocations: 27.91 kB / 0.7946 GB, free: 5.562 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001164/0.266, allocations: 109.2 kB / 0.7947 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002383/0.2662, allocations: 211.2 kB / 0.7949 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.2663, allocations: 0 / 0.7949 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2663, allocations: 0 / 0.7949 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.2663, allocations: 0 / 0.7949 GB, free: 5.242 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0006713/0.267, allocations: 0.51 MB / 0.7954 GB, free: 4.672 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.267, allocations: 8.031 kB / 0.7954 GB, free: 4.664 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.907e-05/0.267, allocations: 42.73 kB / 0.7955 GB, free: 4.613 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.315e-05/0.2671, allocations: 24.75 kB / 0.7955 GB, free: 4.59 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.2673, allocations: 247.2 kB / 0.7957 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.2674, allocations: 8 kB / 0.7957 GB, free: 4.301 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.2674, allocations: 16 kB / 0.7958 GB, free: 4.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2676, allocations: 96.36 kB / 0.7959 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.201e-06/0.2676, allocations: 0 / 0.7959 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.2676, allocations: 0 / 0.7959 GB, free: 4.188 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.2676, allocations: 4 kB / 0.7959 GB, free: 4.184 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.2677, allocations: 51.97 kB / 0.7959 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000698/0.2684, allocations: 480.3 kB / 0.7964 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000407/0.2689, allocations: 162.6 kB / 0.7965 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.78e-05/0.2689, allocations: 36.84 kB / 0.7966 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.2689, allocations: 0 / 0.7966 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001678/0.2691, allocations: 111.2 kB / 0.7967 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=16): time 2.505e-06/0.2691, allocations: 3.984 kB / 0.7967 GB, free: 3.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=16): time 0.0003/0.2694, allocations: 176.4 kB / 0.7968 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2695, allocations: 55.41 kB / 0.7969 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.2697, allocations: 198.5 kB / 0.7971 GB, free: 2.832 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.207e-05/0.2697, allocations: 33.7 kB / 0.7971 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 8.07e-05/0.2698, allocations: 120.5 kB / 0.7972 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.962e-05/0.2698, allocations: 31.56 kB / 0.7973 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.615e-05/0.2699, allocations: 33.7 kB / 0.7973 GB, free: 2.602 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.63e-05/0.27, allocations: 330.8 kB / 0.7976 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.27, allocations: 31.92 kB / 0.7976 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000208/0.2702, allocations: 131.6 kB / 0.7978 GB, free: 2.082 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2704, allocations: 96.23 kB / 0.7978 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.2704, allocations: 4 kB / 0.7978 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002125/0.2706, allocations: 160.2 kB / 0.798 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.2706, allocations: 4 kB / 0.798 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2706, allocations: 0 / 0.798 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.2706, allocations: 4 kB / 0.798 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.2707, allocations: 15.94 kB / 0.798 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.2707, allocations: 128 / 0.798 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/0.271, allocations: 39.81 kB / 0.7981 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.346e-05/0.271, allocations: 8 kB / 0.7981 GB, free: 1.738 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition3,booPul.pulseStart,$PRE.booPul.pulseStart,booPul.y,scaDel.sampleTrigger,scaDel.tActivateLast,$PRE.scaDel.tActivateLast,scaDel.active,sca.sampleTrigger,sca.tActivateLast,$PRE.sca.tActivateLast,sca.active,plotConfiguration.tActivateLast,$PRE.plotConfiguration.tActivateLast,plotConfiguration.active,$whenCondition1,$whenCondition2,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * 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 0.0001072/0.2711, allocations: 139.5 kB / 0.7982 GB, free: 1.594 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.2711, allocations: 15.81 kB / 0.7982 GB, free: 1.578 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.348e-05/0.2712, allocations: 21.86 kB / 0.7982 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2712, allocations: 0 / 0.7982 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.931e-06/0.2712, allocations: 11.94 kB / 0.7983 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.995e-06/0.2712, allocations: 0 / 0.7983 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.2718, allocations: 0.5059 MB / 0.7987 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-06/0.2718, allocations: 0 / 0.7987 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.181e-05/0.2718, allocations: 4 kB / 0.7987 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.2718, allocations: 0 / 0.7987 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.2719, allocations: 4 kB / 0.7988 GB, free: 0.9727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.2719, allocations: 3.938 kB / 0.7988 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2719, allocations: 0 / 0.7988 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001974/0.2721, allocations: 235.2 kB / 0.799 GB, free: 0.7227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.605e-05/0.2721, allocations: 96.91 kB / 0.7991 GB, free: 0.6094 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.176e-05/0.2722, allocations: 4 kB / 0.7991 GB, free: 0.6055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2723, allocations: 19.92 kB / 0.7991 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.789e-05/0.2724, allocations: 23.97 kB / 0.7991 GB, free: 0.5625 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.2724, allocations: 4 kB / 0.7991 GB, free: 0.5586 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001039/0.2725, allocations: 148.2 kB / 0.7993 GB, free: 424 kB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2725, allocations: 0 / 0.7993 GB, free: 424 kB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002764/0.2728, allocations: 43.92 kB / 0.7993 GB, free: 380 kB / 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: 15 (scaDel.sampleTrigger,sca.sampleTrigger,plotConfiguration.active,booPul.y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,plotConfiguration.tActivateLast,sca.active,sca.tActivateLast,scaDel.active,scaDel.tActivateLast,booPul.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0006261/0.2734, allocations: 0.8446 MB / 0.8001 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.2736, allocations: 103.9 kB / 0.8002 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.2736, allocations: 0 / 0.8002 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 8.448e-05/0.2737, allocations: 51.92 kB / 0.8003 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003868/0.2741, allocations: 56.17 kB / 0.8003 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001717/0.2758, allocations: 1.93 MB / 0.8022 GB, free: 13.29 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002471/0.2761, allocations: 0.7206 MB / 0.8029 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 7.546e-05/0.2762, allocations: 17.55 kB / 0.8029 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.42e-05/0.2763, allocations: 59.41 kB / 0.803 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of SimCode: time 3.31e-07/0.2763, allocations: 4 kB / 0.803 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06308/0.3394, allocations: 5.068 MB / 0.8079 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002119/0.3396, allocations: 276.5 kB / 0.8082 GB, free: 7.234 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.05/2.39, allocations: 11.17 kB / 0.8082 GB, free: 7.227 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; mkfifo Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe >> ../files/Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInputFirstOff.fmu > Buildings_8_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInputFirstOff.pipe 2>&1)