Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.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.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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.Reals.Validation.PID,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.PID,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID",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.001315/0.001315, allocations: 104 kB / 15.6 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00231/0.002311, allocations: 192.1 kB / 16.53 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.744/2.744, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00149/0.00149, allocations: 71.89 kB / 0.8694 GB, free: 4.574 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8584/0.8599, allocations: 151.6 MB / 1.017 GB, free: 2.531 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.PID): time 0.00553/0.8655, allocations: 3.624 MB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003771/0.8693, allocations: 2.14 MB / 1.023 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000678/0.87, allocations: 23.94 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0005374/0.8706, allocations: 174.1 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0006503/0.8713, allocations: 150.6 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00121/0.8725, allocations: 0.4933 MB / 1.024 GB, free: 11.89 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.001377/0.8739, allocations: 1.241 MB / 1.025 GB, free: 10.65 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009259/0.8748, allocations: 0.6032 MB / 1.026 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005109/0.8753, allocations: 446.2 kB / 1.026 GB, free: 9.59 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005322/0.8759, allocations: 469.6 kB / 1.027 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0002367/0.8761, allocations: 132 kB / 1.027 GB, free: 9 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000229/0.8764, allocations: 143.9 kB / 1.027 GB, free: 8.859 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.8766, allocations: 263.1 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0004765/0.8771, allocations: 0.5012 MB / 1.028 GB, free: 8.098 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.8783, allocations: 1.38 MB / 1.029 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.8784, allocations: 0 / 1.029 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8784, allocations: 0 / 1.029 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.602e-05/0.8784, allocations: 0 / 1.029 GB, free: 6.715 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.002744/0.8812, allocations: 1.368 MB / 1.03 GB, free: 5.281 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.8812, allocations: 8.031 kB / 1.03 GB, free: 5.273 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001713/0.8814, allocations: 135.6 kB / 1.03 GB, free: 5.133 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002188/0.8816, allocations: 119.5 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008317/0.8824, allocations: 0.5986 MB / 1.031 GB, free: 4.375 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.21e-05/0.8825, allocations: 70.38 kB / 1.031 GB, free: 4.305 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.8826, allocations: 92.36 kB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001468/0.8841, allocations: 0.8641 MB / 1.032 GB, free: 3.328 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.1e-05/0.8842, allocations: 3.938 kB / 1.032 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.318e-05/0.8842, allocations: 39.98 kB / 1.032 GB, free: 3.285 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.884e-05/0.8842, allocations: 20 kB / 1.032 GB, free: 3.266 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001388/0.8856, allocations: 0.6324 MB / 1.033 GB, free: 2.633 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005504/0.8912, allocations: 2.995 MB / 1.036 GB, free: 15.54 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001628/0.8928, allocations: 0.6851 MB / 1.036 GB, free: 14.85 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006868/0.8935, allocations: 374.6 kB / 1.037 GB, free: 14.48 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 5.955e-05/0.8936, allocations: 20.69 kB / 1.037 GB, free: 14.46 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008761/0.8945, allocations: 339 kB / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of pre-optimization done (n=68): time 4.168e-06/0.8945, allocations: 0 / 1.037 GB, free: 14.12 MB / 0.795 GB Notification: Performance of matching and sorting (n=68): time 0.001942/0.8965, allocations: 0.8299 MB / 1.038 GB, free: 13.29 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.8966, allocations: 196.5 kB / 1.038 GB, free: 13.05 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000918/0.8975, allocations: 0.6762 MB / 1.039 GB, free: 12.36 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0001142/0.8976, allocations: 41.64 kB / 1.039 GB, free: 12.32 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004195/0.8981, allocations: 431.8 kB / 1.039 GB, free: 11.89 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002081/0.8983, allocations: 232.6 kB / 1.039 GB, free: 11.66 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002887/0.8986, allocations: 146.5 kB / 1.04 GB, free: 11.5 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.8987, allocations: 337.9 kB / 1.04 GB, free: 11.17 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007142/0.8995, allocations: 300.7 kB / 1.04 GB, free: 10.87 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007891/0.9003, allocations: 482 kB / 1.041 GB, free: 10.33 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001257/0.9015, allocations: 0.677 MB / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.9015, allocations: 0 / 1.041 GB, free: 9.605 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001855/0.9034, allocations: 0.8805 MB / 1.042 GB, free: 8.711 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.677e-05/0.9035, allocations: 33.7 kB / 1.042 GB, free: 8.672 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.9035, allocations: 4 kB / 1.042 GB, free: 8.668 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.9035, allocations: 4 kB / 1.042 GB, free: 8.664 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000632/0.9042, allocations: 176 kB / 1.042 GB, free: 8.492 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.9042, allocations: 4 kB / 1.042 GB, free: 8.488 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007049/0.9049, allocations: 139.1 kB / 1.042 GB, free: 8.352 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.406e-05/0.905, allocations: 35.98 kB / 1.042 GB, free: 8.316 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006529/0.9056, allocations: 398 kB / 1.043 GB, free: 7.926 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005951/0.9062, allocations: 422.2 kB / 1.043 GB, free: 7.445 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008582/0.9071, allocations: 0.5561 MB / 1.044 GB, free: 6.844 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.178e-06/0.9071, allocations: 4 kB / 1.044 GB, free: 6.84 MB / 0.795 GB Notification: Performance of matching and sorting (n=92) (initialization_lambda0): time 0.001328/0.9084, allocations: 0.7672 MB / 1.045 GB, free: 6.059 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.502e-05/0.9085, allocations: 33.7 kB / 1.045 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.9085, allocations: 384 / 1.045 GB, free: 6.02 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.9085, allocations: 12 kB / 1.045 GB, free: 6.008 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.909, allocations: 139.8 kB / 1.045 GB, free: 5.871 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.909, allocations: 7.938 kB / 1.045 GB, free: 5.863 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006499/0.9097, allocations: 115.3 kB / 1.045 GB, free: 5.75 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.492e-05/0.9098, allocations: 35.98 kB / 1.045 GB, free: 5.715 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$whenCondition2,noLimPID.con1.y,limPI.con1.y,limPID.con1.y,pulse.booPul.y,$PRE.pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 1 * 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.0002587/0.9101, allocations: 228 kB / 1.045 GB, free: 5.484 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000156/0.9102, allocations: 82.97 kB / 1.045 GB, free: 5.402 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001401/0.9116, allocations: 0.6593 MB / 1.046 GB, free: 4.73 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.935e-06/0.9116, allocations: 4 kB / 1.046 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.206e-06/0.9117, allocations: 0 / 1.046 GB, free: 4.727 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.9117, allocations: 3.984 kB / 1.046 GB, free: 4.723 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002905/0.9146, allocations: 1.675 MB / 1.047 GB, free: 2.961 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.9146, allocations: 3.938 kB / 1.047 GB, free: 2.957 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000548/0.9152, allocations: 135.7 kB / 1.048 GB, free: 2.824 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.046e-05/0.9152, allocations: 4 kB / 1.048 GB, free: 2.82 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.483e-05/0.9152, allocations: 16 kB / 1.048 GB, free: 2.805 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.135e-05/0.9152, allocations: 7.984 kB / 1.048 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9153, allocations: 0 / 1.048 GB, free: 2.797 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001854/0.9171, allocations: 1.097 MB / 1.049 GB, free: 1.656 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002062/0.9173, allocations: 164.1 kB / 1.049 GB, free: 1.477 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.551e-05/0.9174, allocations: 12 kB / 1.049 GB, free: 1.465 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004468/0.9179, allocations: 51.95 kB / 1.049 GB, free: 1.414 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001028/0.918, allocations: 44.44 kB / 1.049 GB, free: 1.371 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.673e-05/0.9181, allocations: 27.94 kB / 1.049 GB, free: 1.344 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0007088/0.9188, allocations: 479 kB / 1.049 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9188, allocations: 0 / 1.049 GB, free: 0.8828 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009748/0.9198, allocations: 326.7 kB / 1.05 GB, free: 0.5625 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 6 (limPID.I.y,limPID.D.x,limPI.I.y,limPD.D.x,noLimPID.I.y,noLimPID.D.x) * Number of discrete variables: 3 ($whenCondition1,$whenCondition2,pulse.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (68): * Single equations (assignments): 67 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.002455/0.9222, allocations: 1.653 MB / 1.051 GB, free: 14.85 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002745/0.925, allocations: 1.178 MB / 1.053 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.762e-06/0.925, allocations: 0 / 1.053 GB, free: 13.65 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0006018/0.9256, allocations: 308.7 kB / 1.053 GB, free: 13.35 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.9268, allocations: 180.8 kB / 1.053 GB, free: 13.17 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01112/0.938, allocations: 6.902 MB / 1.06 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008109/0.9388, allocations: 0.9743 MB / 1.061 GB, free: 4.977 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0005334/0.9394, allocations: 97.91 kB / 1.061 GB, free: 4.879 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005391/0.9399, allocations: 347.3 kB / 1.061 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of SimCode: time 1.142e-06/0.94, allocations: 0 / 1.061 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0503/0.9903, allocations: 16.16 MB / 1.077 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.913/8.904, allocations: 8.594 kB / 1.077 GB, free: 4.555 MB / 0.8262 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_PID.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_PID.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.PID.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches