Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.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.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState",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.00081/0.00081, allocations: 92.31 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.0008706/0.0008706, 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.468/1.468, allocations: 223.3 MB / 240 MB, free: 5.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.618/2.618, allocations: 409.4 MB / 0.684 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005161/0.0005164, allocations: 12 kB / 0.8378 GB, free: 6.504 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8173/0.8178, allocations: 146.8 MB / 0.9812 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState): time 0.002495/0.8204, allocations: 1.385 MB / 0.9825 GB, free: 4.906 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001934/0.8224, allocations: 1.217 MB / 0.9837 GB, free: 3.672 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002098/0.8226, allocations: 8 kB / 0.9837 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002085/0.8228, allocations: 51.45 kB / 0.9838 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.8229, allocations: 35.7 kB / 0.9838 GB, free: 3.578 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003453/0.8233, allocations: 103.9 kB / 0.9839 GB, free: 3.477 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.8237, allocations: 421.2 kB / 0.9843 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003378/0.8241, allocations: 184.7 kB / 0.9845 GB, free: 2.879 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.8242, allocations: 111.3 kB / 0.9846 GB, free: 2.77 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001626/0.8244, allocations: 135.1 kB / 0.9847 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.526e-05/0.8244, allocations: 12 kB / 0.9847 GB, free: 2.625 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 2.66e-05/0.8245, allocations: 8 kB / 0.9847 GB, free: 2.617 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 5.224e-05/0.8245, allocations: 55.7 kB / 0.9848 GB, free: 2.562 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.712e-05/0.8246, allocations: 85.45 kB / 0.9849 GB, free: 2.473 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000388/0.825, allocations: 453 kB / 0.9853 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.825, allocations: 0 / 0.9853 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.145e-06/0.825, allocations: 0 / 0.9853 GB, free: 2.031 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.802e-06/0.825, allocations: 0 / 0.9853 GB, free: 2.031 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001078/0.8261, allocations: 0.6784 MB / 0.986 GB, free: 1.305 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.8262, allocations: 8.031 kB / 0.986 GB, free: 1.297 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.786e-05/0.8263, allocations: 78.52 kB / 0.986 GB, free: 1.211 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.167e-05/0.8263, allocations: 51.34 kB / 0.9861 GB, free: 1.16 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004358/0.8268, allocations: 339.2 kB / 0.9864 GB, free: 0.7891 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.8268, allocations: 37 kB / 0.9864 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.786e-05/0.8269, allocations: 39.98 kB / 0.9865 GB, free: 0.7148 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.8276, allocations: 411 kB / 0.9869 GB, free: 304 kB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.8276, allocations: 3.938 kB / 0.9869 GB, free: 300 kB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.225e-05/0.8277, allocations: 20 kB / 0.9869 GB, free: 280 kB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.8277, allocations: 12 kB / 0.9869 GB, free: 268 kB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005965/0.8283, allocations: 299.8 kB / 0.9872 GB, free: 15.97 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.8303, allocations: 1.394 MB / 0.9886 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006994/0.831, allocations: 266.8 kB / 0.9888 GB, free: 14.24 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002401/0.8313, allocations: 132.8 kB / 0.9889 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 2.795e-05/0.8313, allocations: 4 kB / 0.9889 GB, free: 14.11 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.703e-05/0.8314, allocations: 34.56 kB / 0.989 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=20): time 1.794e-06/0.8314, allocations: 0 / 0.989 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of matching and sorting (n=20): time 0.0006693/0.8321, allocations: 318.1 kB / 0.9893 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.8321, allocations: 110.8 kB / 0.9894 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004475/0.8326, allocations: 405.5 kB / 0.9898 GB, free: 13.21 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.9e-05/0.8326, allocations: 29.7 kB / 0.9898 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001863/0.8328, allocations: 263.5 kB / 0.99 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.25e-05/0.8329, allocations: 71 kB / 0.9901 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.416e-05/0.8329, allocations: 4 kB / 0.9901 GB, free: 12.83 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001611/0.8331, allocations: 346.8 kB / 0.9905 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002538/0.8333, allocations: 116.6 kB / 0.9906 GB, free: 12.37 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003136/0.8337, allocations: 208.4 kB / 0.9908 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.8339, allocations: 137.5 kB / 0.9909 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.834, allocations: 0 / 0.9909 GB, free: 11.99 MB / 0.7481 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006931/0.8347, allocations: 382.1 kB / 0.9913 GB, free: 11.61 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.8348, allocations: 152 kB / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.8348, allocations: 7.938 kB / 0.9914 GB, free: 11.43 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.8348, allocations: 4 kB / 0.9914 GB, free: 11.42 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.8351, allocations: 79.89 kB / 0.9915 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/0.8351, allocations: 3.938 kB / 0.9915 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002228/0.8353, allocations: 67.5 kB / 0.9916 GB, free: 11.27 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.8354, allocations: 16 kB / 0.9916 GB, free: 11.26 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-06/0.8354, allocations: 5.406 kB / 0.9916 GB, free: 11.25 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004115/0.8358, allocations: 253.6 kB / 0.9918 GB, free: 11.01 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.8358, allocations: 7.984 kB / 0.9918 GB, free: 11 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.8358, allocations: 8.031 kB / 0.9918 GB, free: 10.99 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002215/0.8361, allocations: 63.91 kB / 0.9919 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.8361, allocations: 4.219 kB / 0.9919 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001625/0.8362, allocations: 47.61 kB / 0.9919 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.8363, allocations: 16 kB / 0.992 GB, free: 10.86 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (limPI.con1.y,limPID.con1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 39 * 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 0.0002091/0.8365, allocations: 233 kB / 0.9922 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.763e-05/0.8365, allocations: 35.53 kB / 0.9922 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004832/0.837, allocations: 253.2 kB / 0.9925 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.245e-06/0.8371, allocations: 4 kB / 0.9925 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.8371, allocations: 3.938 kB / 0.9925 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8371, allocations: 0 / 0.9925 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001219/0.8383, allocations: 0.8116 MB / 0.9933 GB, free: 9.445 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.877e-06/0.8383, allocations: 4 kB / 0.9933 GB, free: 9.441 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001897/0.8385, allocations: 43.97 kB / 0.9933 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.166e-06/0.8385, allocations: 0 / 0.9933 GB, free: 9.398 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/0.8385, allocations: 8 kB / 0.9933 GB, free: 9.391 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.18e-06/0.8386, allocations: 12.09 kB / 0.9933 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.8386, allocations: 0 / 0.9933 GB, free: 9.379 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007046/0.8393, allocations: 488.6 kB / 0.9938 GB, free: 8.871 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 9.829e-05/0.8394, allocations: 120.7 kB / 0.9939 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.8394, allocations: 4 kB / 0.9939 GB, free: 8.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001778/0.8396, allocations: 27.91 kB / 0.9939 GB, free: 8.703 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.8396, allocations: 23.88 kB / 0.994 GB, free: 8.68 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.486e-05/0.8397, allocations: 12 kB / 0.994 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003131/0.84, allocations: 283.2 kB / 0.9942 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.8e-07/0.84, allocations: 0 / 0.9942 GB, free: 8.395 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004994/0.8405, allocations: 131.5 kB / 0.9944 GB, free: 8.266 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (limPID.I.y,limPID.D.x,limPI.I.y) * 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 (20): * Single equations (assignments): 20 * 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.001052/0.8416, allocations: 1.016 MB / 0.9954 GB, free: 7.211 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007934/0.8424, allocations: 401.9 kB / 0.9957 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/0.8424, allocations: 192 / 0.9957 GB, free: 6.82 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001996/0.8426, allocations: 104.9 kB / 0.9958 GB, free: 6.719 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005478/0.8431, allocations: 73.77 kB / 0.9959 GB, free: 6.648 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003515/0.8467, allocations: 2.147 MB / 0.998 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.8471, allocations: 0.7999 MB / 0.9988 GB, free: 3.578 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001877/0.8473, allocations: 43.27 kB / 0.9988 GB, free: 3.535 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000211/0.8475, allocations: 139.4 kB / 0.999 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of SimCode: time 7.41e-07/0.8475, allocations: 0 / 0.999 GB, free: 3.398 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0252/0.8727, allocations: 6.597 MB / 1.005 GB, free: 13.01 MB / 0.7637 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003171/0.8731, allocations: 203.4 kB / 1.006 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/2.826, allocations: 3.125 kB / 1.006 GB, free: 12.77 MB / 0.7637 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Continuous_Validation_PIDInitialState.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Controls.OBC.CDL.Continuous.Validation.PIDInitialState_res.mat does not exist to compare? outputFormat=mat