Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.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.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign",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.465/1.465, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001208/0.001208, allocations: 189 kB / 326.5 MB, free: 2.234 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.935/1.935, allocations: 205.4 MB / 0.5775 GB, free: 20.29 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.0009206/0.0009205, allocations: 99.52 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003616/0.0003616, allocations: 12.56 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2351, allocations: 106.3 MB / 0.9002 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign): time 0.001337/0.2365, allocations: 1.085 MB / 0.9012 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002299/0.2367, allocations: 102 kB / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.599e-05/0.2368, allocations: 0 / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.531e-05/0.2368, allocations: 0 / 0.9013 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.2369, allocations: 7.938 kB / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 4.553e-05/0.2369, allocations: 0 / 0.9013 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.685e-05/0.237, allocations: 11.98 kB / 0.9014 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.095e-05/0.2371, allocations: 11.98 kB / 0.9014 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.2371, allocations: 8 kB / 0.9014 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.2372, allocations: 7.922 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.172e-05/0.2372, allocations: 4 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.951e-06/0.2372, allocations: 0 / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.737e-06/0.2372, allocations: 4 kB / 0.9014 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.731e-05/0.2372, allocations: 25.7 kB / 0.9014 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 4.597e-05/0.2373, allocations: 15.95 kB / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.2373, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2373, allocations: 0 / 0.9014 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.857e-06/0.2373, allocations: 4 kB / 0.9014 GB, free: 62.52 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003222/0.2376, allocations: 331.4 kB / 0.9017 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.2377, allocations: 16.02 kB / 0.9018 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.961e-05/0.2377, allocations: 34.5 kB / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.273e-05/0.2377, allocations: 0 / 0.9018 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.98e-05/0.2378, allocations: 175.2 kB / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.2379, allocations: 0 / 0.902 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.2379, allocations: 4 kB / 0.902 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001769/0.2381, allocations: 53.67 kB / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.2381, allocations: 0 / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.367e-06/0.2381, allocations: 0 / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.638e-06/0.2381, allocations: 0 / 0.902 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001491/0.2383, allocations: 43.97 kB / 0.9021 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003302/0.2386, allocations: 272.8 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001026/0.2387, allocations: 46.55 kB / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.2387, allocations: 0 / 0.9024 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.62e-05/0.2387, allocations: 34.5 kB / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.2388, allocations: 0 / 0.9024 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003157/0.2391, allocations: 93.64 kB / 0.9025 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.027e-05/0.2391, allocations: 55.41 kB / 0.9025 GB, free: 61.19 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.06e-05/0.2392, allocations: 105.8 kB / 0.9026 GB, free: 61.08 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.055e-06/0.2392, allocations: 25.7 kB / 0.9027 GB, free: 61.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.108e-05/0.2392, allocations: 84.27 kB / 0.9027 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.571e-05/0.2392, allocations: 7.906 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-06/0.2392, allocations: 0 / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.586e-05/0.2393, allocations: 314.8 kB / 0.9031 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.315e-05/0.2394, allocations: 19.97 kB / 0.9031 GB, free: 60.62 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.506e-05/0.2395, allocations: 23.98 kB / 0.9031 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001003/0.2396, allocations: 19.98 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.2396, allocations: 0 / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002899/0.2399, allocations: 69.73 kB / 0.9032 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.2399, allocations: 10.95 kB / 0.9032 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.2399, allocations: 3.938 kB / 0.9032 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.341e-05/0.2399, allocations: 4 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002572/0.2402, allocations: 36 kB / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.122e-06/0.2402, allocations: 0 / 0.9032 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.71e-05/0.2403, allocations: 7.984 kB / 0.9032 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.2403, allocations: 3.953 kB / 0.9032 GB, free: 60.44 MB / 0.6042 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 (1): * Single equations (assignments): 1 * 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 5.951e-05/0.2404, allocations: 109.8 kB / 0.9033 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.682e-05/0.2404, allocations: 3.938 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.294e-05/0.2405, allocations: 7.125 kB / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2405, allocations: 0 / 0.9034 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.2405, allocations: 8 kB / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.2405, allocations: 0 / 0.9034 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.2407, allocations: 165.6 kB / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.2407, allocations: 0 / 0.9035 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002203/0.2409, allocations: 31.97 kB / 0.9036 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.2409, allocations: 4 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.241, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.241, allocations: 0 / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.241, allocations: 4 kB / 0.9036 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002768/0.2413, allocations: 175.4 kB / 0.9037 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.281e-05/0.2413, allocations: 81.02 kB / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/0.2413, allocations: 0 / 0.9038 GB, free: 59.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.2414, allocations: 11.98 kB / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.2415, allocations: 0 / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.437e-06/0.2415, allocations: 0 / 0.9038 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.652e-05/0.2416, allocations: 87.27 kB / 0.9039 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2e-07/0.2416, allocations: 3.938 kB / 0.9039 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002888/0.2419, allocations: 8.031 kB / 0.9039 GB, free: 59.66 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0003757/0.2422, allocations: 0.7007 MB / 0.9046 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001773/0.2424, allocations: 39.91 kB / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2424, allocations: 0 / 0.9046 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.327e-05/0.2425, allocations: 28.08 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001965/0.2427, allocations: 5.875 kB / 0.9047 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.2431, allocations: 136.3 kB / 0.9048 GB, free: 58.69 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001013/0.2432, allocations: 0.677 MB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.197e-05/0.2432, allocations: 8.047 kB / 0.9055 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.2432, allocations: 7.438 kB / 0.9055 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of SimCode: time 2.2e-07/0.2433, allocations: 4 kB / 0.9055 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01041/0.2537, allocations: 0.9688 MB / 0.9064 GB, free: 57.16 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001318/0.2538, allocations: 196.6 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.535/1.789, allocations: 6.188 kB / 0.9066 GB, free: 56.92 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Continuous_Validation_ChangeSign.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Continuous.Validation.ChangeSign.pipe 2>&1)