Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.336/1.336, allocations: 252 MB / 267.3 MB, free: 10.86 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001467, allocations: 176.3 kB / 327 MB, free: 2.129 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.4 MB / 0.578 GB, free: 20.15 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009592/0.0009591, allocations: 99.62 kB / 0.6826 GB, free: 12.76 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003165, allocations: 9.562 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1992/0.1995, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput): time 0.001826/0.2014, allocations: 1.535 MB / 0.9024 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001429/0.2028, allocations: 0.9794 MB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.203, allocations: 3.938 kB / 0.9034 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001767/0.2032, allocations: 19.86 kB / 0.9034 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.000304/0.2035, allocations: 99.58 kB / 0.9035 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003275/0.2038, allocations: 146.1 kB / 0.9036 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0002492/0.2041, allocations: 231.3 kB / 0.9038 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001339/0.2042, allocations: 37.66 kB / 0.9039 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001533/0.2044, allocations: 95.67 kB / 0.904 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.06107/0.2655, allocations: 3.305 MB / 0.9072 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.569e-05/0.2655, allocations: 8 kB / 0.9072 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.2657, allocations: 28 kB / 0.9072 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.707e-05/0.2657, allocations: 39.81 kB / 0.9073 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.000104/0.2658, allocations: 105.2 kB / 0.9074 GB, free: 57.6 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002038/0.266, allocations: 191.4 kB / 0.9075 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.868e-06/0.2661, allocations: 7.938 kB / 0.9076 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.172e-06/0.2661, allocations: 0 / 0.9076 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.188e-06/0.2661, allocations: 4 kB / 0.9076 GB, free: 57.4 MB / 0.6042 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.0006014/0.2667, allocations: 0.5264 MB / 0.9081 GB, free: 56.81 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.782e-05/0.2667, allocations: 8.031 kB / 0.9081 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.659e-05/0.2668, allocations: 42.73 kB / 0.9081 GB, free: 56.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.153e-05/0.2668, allocations: 24.75 kB / 0.9081 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.267, allocations: 235.3 kB / 0.9084 GB, free: 56.46 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.35e-05/0.2671, allocations: 8 kB / 0.9084 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.7e-05/0.2671, allocations: 19.98 kB / 0.9084 GB, free: 56.43 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001549/0.2672, allocations: 95.95 kB / 0.9085 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.2673, allocations: 0 / 0.9085 GB, free: 56.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.2673, allocations: 8 kB / 0.9085 GB, free: 56.33 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.2673, allocations: 4 kB / 0.9085 GB, free: 56.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.725e-05/0.2674, allocations: 47.97 kB / 0.9085 GB, free: 56.28 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009682/0.2684, allocations: 476.3 kB / 0.909 GB, free: 55.76 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000663/0.2691, allocations: 158.6 kB / 0.9092 GB, free: 55.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.606e-05/0.2692, allocations: 40.84 kB / 0.9092 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.2692, allocations: 0 / 0.9092 GB, free: 55.55 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002558/0.2695, allocations: 118.1 kB / 0.9093 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.725e-06/0.2695, allocations: 0 / 0.9093 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.000476/0.27, allocations: 165.4 kB / 0.9095 GB, free: 55.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.131e-05/0.2701, allocations: 55.39 kB / 0.9095 GB, free: 55.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002313/0.2703, allocations: 190.6 kB / 0.9097 GB, free: 55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.955e-05/0.2704, allocations: 33.7 kB / 0.9097 GB, free: 54.96 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.655e-05/0.2705, allocations: 132.4 kB / 0.9099 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.004e-05/0.2705, allocations: 31.52 kB / 0.9099 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.105e-05/0.2705, allocations: 8 kB / 0.9099 GB, free: 54.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.727e-05/0.2706, allocations: 330.8 kB / 0.9102 GB, free: 54.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.657e-05/0.2707, allocations: 35.92 kB / 0.9102 GB, free: 54.42 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002956/0.271, allocations: 131.6 kB / 0.9104 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001743/0.2712, allocations: 99.67 kB / 0.9105 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.2712, allocations: 0 / 0.9105 GB, free: 54.15 MB / 0.6042 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003306/0.2716, allocations: 157.2 kB / 0.9106 GB, free: 53.99 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2716, allocations: 8 kB / 0.9106 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.792e-06/0.2716, allocations: 128 / 0.9106 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.2716, allocations: 8 kB / 0.9106 GB, free: 53.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.64e-05/0.2717, allocations: 8 kB / 0.9106 GB, free: 53.97 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.2718, allocations: 7.938 kB / 0.9106 GB, free: 53.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003174/0.2721, allocations: 35.81 kB / 0.9107 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.2721, allocations: 8 kB / 0.9107 GB, free: 53.92 MB / 0.6042 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,$whenCondition5,$whenCondition4,$whenCondition2,$whenCondition1,plotConfiguration.active,$PRE.plotConfiguration.tActivateLast,plotConfiguration.tActivateLast,sca.active,$PRE.sca.tActivateLast,sca.tActivateLast,sca.sampleTrigger,scaDel.active,$PRE.scaDel.tActivateLast,scaDel.tActivateLast,scaDel.sampleTrigger,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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.0001323/0.2723, allocations: 135.5 kB / 0.9108 GB, free: 53.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.2723, allocations: 19.81 kB / 0.9108 GB, free: 53.76 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.079e-05/0.2724, allocations: 21.86 kB / 0.9109 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2724, allocations: 0 / 0.9109 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.2724, allocations: 0 / 0.9109 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.2724, allocations: 0 / 0.9109 GB, free: 53.74 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008072/0.2732, allocations: 0.5098 MB / 0.9114 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.2732, allocations: 0 / 0.9114 GB, free: 53.17 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.266e-05/0.2733, allocations: 7.938 kB / 0.9114 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.488e-06/0.2733, allocations: 0 / 0.9114 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.2733, allocations: 4 kB / 0.9114 GB, free: 53.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.679e-06/0.2733, allocations: 7.922 kB / 0.9114 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.2733, allocations: 0 / 0.9114 GB, free: 53.15 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002667/0.2736, allocations: 237.4 kB / 0.9116 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.3e-05/0.2737, allocations: 96.84 kB / 0.9117 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.343e-05/0.2737, allocations: 0 / 0.9117 GB, free: 52.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.274, allocations: 27.86 kB / 0.9117 GB, free: 52.77 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.664e-05/0.2741, allocations: 23.91 kB / 0.9117 GB, free: 52.74 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-05/0.2741, allocations: 8 kB / 0.9117 GB, free: 52.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001278/0.2742, allocations: 148.2 kB / 0.9119 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.8e-07/0.2743, allocations: 0 / 0.9119 GB, free: 52.59 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004958/0.2748, allocations: 47.89 kB / 0.9119 GB, free: 52.54 MB / 0.6042 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.0007339/0.2755, allocations: 0.8227 MB / 0.9127 GB, free: 51.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002903/0.2758, allocations: 103.8 kB / 0.9128 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2758, allocations: 4.25 kB / 0.9128 GB, free: 51.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000136/0.276, allocations: 55.92 kB / 0.9129 GB, free: 51.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006169/0.2766, allocations: 54.12 kB / 0.9129 GB, free: 51.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002495/0.2791, allocations: 1.941 MB / 0.9148 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001804/0.2793, allocations: 0.7206 MB / 0.9155 GB, free: 48.72 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001152/0.2794, allocations: 25.53 kB / 0.9156 GB, free: 48.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.2796, allocations: 55.41 kB / 0.9156 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of SimCode: time 4.31e-07/0.2796, allocations: 0 / 0.9156 GB, free: 48.64 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01965/0.2993, allocations: 5.084 MB / 0.9206 GB, free: 43.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002033/0.2995, allocations: 275.2 kB / 0.9208 GB, free: 43.32 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.818/2.118, allocations: 0 / 0.9208 GB, free: 43.32 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Plotters_Validation_PlotterActivationGlobalInput.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Plotters.Validation.PlotterActivationGlobalInput.pipe 2>&1)