Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.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.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput",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.0007573/0.0007575, allocations: 99.38 kB / 15.37 MB, free: 0.707 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.0008093/0.0008094, allocations: 182.9 kB / 16.28 MB, free: 6.656 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.344/1.344, allocations: 205.4 MB / 222.5 MB, free: 5.559 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.629/1.629, allocations: 292.7 MB / 0.5502 GB, free: 14.42 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.0005122/0.0005123, allocations: 19.5 kB / 0.6745 GB, free: 25.92 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.218/0.2186, allocations: 116.3 MB / 0.788 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput): time 0.001917/0.2205, allocations: 1.484 MB / 0.7895 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.222, allocations: 1.203 MB / 0.7907 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001656/0.2222, allocations: 11.94 kB / 0.7907 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001764/0.2224, allocations: 51.52 kB / 0.7907 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002352/0.2226, allocations: 50.7 kB / 0.7908 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.2229, allocations: 139.8 kB / 0.7909 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00041/0.2233, allocations: 437 kB / 0.7913 GB, free: 8.027 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000341/0.2237, allocations: 226.3 kB / 0.7915 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.2238, allocations: 111.3 kB / 0.7916 GB, free: 7.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001585/0.224, allocations: 131.1 kB / 0.7918 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.619e-05/0.224, allocations: 12 kB / 0.7918 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 2.784e-05/0.224, allocations: 12 kB / 0.7918 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.2241, allocations: 59.64 kB / 0.7918 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000133/0.2242, allocations: 176.5 kB / 0.792 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0003952/0.2246, allocations: 0.4905 MB / 0.7925 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.337e-06/0.2246, allocations: 0 / 0.7925 GB, free: 6.809 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.976e-06/0.2247, allocations: 3.938 kB / 0.7925 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.2247, allocations: 3.938 kB / 0.7925 GB, free: 6.801 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: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001043/0.2257, allocations: 0.6703 MB / 0.7932 GB, free: 6.078 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.2258, allocations: 12.03 kB / 0.7932 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.37e-05/0.2259, allocations: 70.72 kB / 0.7932 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.499e-05/0.2259, allocations: 52.38 kB / 0.7933 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004399/0.2264, allocations: 359.9 kB / 0.7936 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.061e-05/0.2264, allocations: 21.03 kB / 0.7936 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.172e-05/0.2265, allocations: 36.38 kB / 0.7937 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006177/0.2271, allocations: 362.4 kB / 0.794 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2271, allocations: 3.938 kB / 0.794 GB, free: 5.121 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.834e-05/0.2272, allocations: 16 kB / 0.794 GB, free: 5.105 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.068e-05/0.2272, allocations: 8 kB / 0.7941 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005403/0.2277, allocations: 270.4 kB / 0.7943 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001771/0.2295, allocations: 1.271 MB / 0.7956 GB, free: 3.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005537/0.2301, allocations: 222.7 kB / 0.7958 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002142/0.2303, allocations: 104.9 kB / 0.7959 GB, free: 3.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.2303, allocations: 3.984 kB / 0.7959 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.2304, allocations: 34.56 kB / 0.7959 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 2.144e-06/0.2304, allocations: 0 / 0.7959 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0006741/0.231, allocations: 285 kB / 0.7962 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.696e-05/0.2311, allocations: 110.8 kB / 0.7963 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004575/0.2316, allocations: 409.6 kB / 0.7967 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.2316, allocations: 29.7 kB / 0.7967 GB, free: 2.25 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.2318, allocations: 243.9 kB / 0.7969 GB, free: 2.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.406e-05/0.2319, allocations: 55.2 kB / 0.797 GB, free: 1.953 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.322e-05/0.2319, allocations: 29.7 kB / 0.797 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2321, allocations: 350.7 kB / 0.7973 GB, free: 1.566 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002343/0.2323, allocations: 107.9 kB / 0.7974 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003034/0.2326, allocations: 197.3 kB / 0.7976 GB, free: 1.234 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004535/0.2331, allocations: 241.9 kB / 0.7979 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.2331, allocations: 7.938 kB / 0.7979 GB, free: 0.9688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0006628/0.2338, allocations: 344 kB / 0.7982 GB, free: 0.6289 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.187e-05/0.2339, allocations: 134.3 kB / 0.7983 GB, free: 484 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.218e-06/0.2339, allocations: 7.984 kB / 0.7983 GB, free: 476 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.2339, allocations: 4 kB / 0.7983 GB, free: 472 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.2342, allocations: 67.91 kB / 0.7984 GB, free: 404 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.2342, allocations: 3.938 kB / 0.7984 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002398/0.2344, allocations: 63.59 kB / 0.7985 GB, free: 336 kB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/0.2345, allocations: 12 kB / 0.7985 GB, free: 324 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 5.66e-06/0.2345, allocations: 4 kB / 0.7985 GB, free: 320 kB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003117/0.2348, allocations: 215.7 kB / 0.7987 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2348, allocations: 4 kB / 0.7987 GB, free: 100 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.018e-06/0.2348, allocations: 4 kB / 0.7987 GB, free: 96 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/0.235, allocations: 47.92 kB / 0.7987 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.235, allocations: 0 / 0.7987 GB, free: 48 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001884/0.2352, allocations: 47.83 kB / 0.7988 GB, free: 0 / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.2352, allocations: 8.047 kB / 0.7988 GB, free: 15.99 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 1 (limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 32 * 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.0002125/0.2355, allocations: 233.7 kB / 0.799 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.825e-05/0.2355, allocations: 39.47 kB / 0.7991 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.51e-05/0.2356, allocations: 35.25 kB / 0.7991 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.2356, allocations: 4 kB / 0.7991 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-06/0.2356, allocations: 0 / 0.7991 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.2356, allocations: 0 / 0.7991 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001281/0.2369, allocations: 0.699 MB / 0.7998 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-06/0.2369, allocations: 4 kB / 0.7998 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.2371, allocations: 35.92 kB / 0.7998 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.2371, allocations: 0 / 0.7998 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.826e-05/0.2372, allocations: 11.98 kB / 0.7998 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.2372, allocations: 192 / 0.7998 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.299e-06/0.2372, allocations: 0 / 0.7998 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006688/0.2379, allocations: 432.5 kB / 0.8002 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.432e-05/0.2379, allocations: 116.7 kB / 0.8004 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.238, allocations: 8 kB / 0.8004 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001846/0.2382, allocations: 23.98 kB / 0.8004 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.771e-05/0.2382, allocations: 15.86 kB / 0.8004 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.2382, allocations: 8 kB / 0.8004 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003057/0.2385, allocations: 287.2 kB / 0.8007 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2385, allocations: 0 / 0.8007 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004367/0.239, allocations: 119.5 kB / 0.8008 GB, free: 13.83 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (limPID.I.y,limPID.D.x,limPD.D.x) * 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 (15): * Single equations (assignments): 15 * 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 Backend phase and start with SimCode phase: time 0.000996/0.24, allocations: 0.9627 MB / 0.8017 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006524/0.2407, allocations: 346.4 kB / 0.8021 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.2407, allocations: 0 / 0.8021 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001758/0.2409, allocations: 88.64 kB / 0.8021 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.2414, allocations: 69.47 kB / 0.8022 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00467/0.2461, allocations: 3.515 MB / 0.8056 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003565/0.2465, allocations: 0.7918 MB / 0.8064 GB, free: 7.891 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.2466, allocations: 39.14 kB / 0.8065 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001751/0.2468, allocations: 131.3 kB / 0.8066 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.2468, allocations: 0 / 0.8066 GB, free: 7.727 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01626/0.2631, allocations: 6.197 MB / 0.8126 GB, free: 1.746 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000179/0.2633, allocations: 231.1 kB / 0.8129 GB, free: 1.488 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.038, allocations: 0 / 0.8129 GB, free: 1.488 MB / 0.6231 GB (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialDerivativeOutput.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialDerivativeOutput.pipe 2>&1)