Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med,fileNamePrefix="Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med",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.00117/0.00117, allocations: 108 kB / 15.61 MB, free: 152 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.001143/0.001143, allocations: 194.8 kB / 16.53 MB, free: 6.664 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.243/1.243, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.295/2.295, allocations: 390.3 MB / 0.6647 GB, free: 460 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001293/0.001293, allocations: 63.91 kB / 0.8126 GB, free: 14.36 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6044, allocations: 140.4 MB / 0.9497 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med): time 0.002286/0.6067, allocations: 1.413 MB / 0.9511 GB, free: 7.984 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.6092, allocations: 2.67 MB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.6092, allocations: 1.062 kB / 0.9537 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001234/0.6104, allocations: 0.5842 MB / 0.9543 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.185e-05/0.6105, allocations: 16.16 kB / 0.9543 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 4.809e-06/0.6105, allocations: 0 / 0.9543 GB, free: 5.426 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002456/0.6108, allocations: 161.1 kB / 0.9544 GB, free: 5.34 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 6.54e-05/0.6108, allocations: 37.86 kB / 0.9545 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 6.996e-05/0.6109, allocations: 60.17 kB / 0.9545 GB, free: 5.297 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001155/0.611, allocations: 73.53 kB / 0.9546 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.611, allocations: 2.469 kB / 0.9546 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009673/0.612, allocations: 472.1 kB / 0.9551 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 4.592e-05/0.6121, allocations: 31.59 kB / 0.9551 GB, free: 5.082 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 9.097e-05/0.6122, allocations: 102.8 kB / 0.9552 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0005343/0.6127, allocations: 432 kB / 0.9556 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.6127, allocations: 1.688 kB / 0.9556 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.663e-06/0.6127, allocations: 0 / 0.9556 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.982e-06/0.6127, allocations: 0 / 0.9556 GB, free: 4.777 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000633/0.6134, allocations: 0.552 MB / 0.9561 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.981e-05/0.6134, allocations: 9.875 kB / 0.9561 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.837e-05/0.6135, allocations: 110 kB / 0.9562 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001408/0.6136, allocations: 107.8 kB / 0.9564 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.6138, allocations: 305.9 kB / 0.9566 GB, free: 3.746 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.556e-05/0.6138, allocations: 150.9 kB / 0.9568 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.604e-05/0.6138, allocations: 157.6 kB / 0.9569 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.214e-05/0.6139, allocations: 102.9 kB / 0.957 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/0.6139, allocations: 79.22 kB / 0.9571 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.6139, allocations: 154.6 kB / 0.9573 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.092e-05/0.614, allocations: 155.9 kB / 0.9574 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.024e-05/0.614, allocations: 154.5 kB / 0.9576 GB, free: 2.805 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002472/0.6142, allocations: 0.5274 MB / 0.9581 GB, free: 2.266 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.579e-05/0.6143, allocations: 178.5 kB / 0.9582 GB, free: 2.082 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.677e-05/0.6143, allocations: 88.17 kB / 0.9583 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.6143, allocations: 75.28 kB / 0.9584 GB, free: 1.918 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.1e-05/0.6144, allocations: 107.2 kB / 0.9585 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.91e-07/0.6144, allocations: 0 / 0.9585 GB, free: 1.805 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 0.0001596/0.6145, allocations: 61.38 kB / 0.9586 GB, free: 1.75 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.666e-05/0.6146, allocations: 136 kB / 0.9587 GB, free: 1.605 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000374/0.615, allocations: 434.5 kB / 0.9591 GB, free: 1.328 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.034e-05/0.615, allocations: 26.8 kB / 0.9591 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.804e-05/0.615, allocations: 130.6 kB / 0.9593 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.615, allocations: 0 / 0.9593 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.741e-05/0.6151, allocations: 91.5 kB / 0.9593 GB, free: 1.121 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.593e-05/0.6152, allocations: 340.1 kB / 0.9597 GB, free: 0.7891 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001055/0.6153, allocations: 98.69 kB / 0.9598 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.6154, allocations: 163.1 kB / 0.9599 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002897/0.6157, allocations: 305.2 kB / 0.9602 GB, free: 436 kB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.6157, allocations: 1.031 kB / 0.9602 GB, free: 436 kB / 0.7169 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.0004752/0.6162, allocations: 333 kB / 0.9605 GB, free: 252 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.6162, allocations: 9.438 kB / 0.9605 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.6163, allocations: 5.312 kB / 0.9605 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.6163, allocations: 2.5 kB / 0.9605 GB, free: 244 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.416e-06/0.6163, allocations: 5.031 kB / 0.9605 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.985e-06/0.6163, allocations: 2.781 kB / 0.9605 GB, free: 240 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.6164, allocations: 43.89 kB / 0.9606 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.234e-05/0.6165, allocations: 4.188 kB / 0.9606 GB, free: 204 kB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (cab[1].material,cab[2].material,cab[3].material,cab[4].material,cab[5].material,cab[6].material,cab[7].material) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * 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.0002027/0.6167, allocations: 247.6 kB / 0.9608 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.6167, allocations: 132 kB / 0.961 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.459e-05/0.6168, allocations: 114.1 kB / 0.9611 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.649e-05/0.6169, allocations: 185.4 kB / 0.9612 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.698e-05/0.617, allocations: 181.2 kB / 0.9614 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-05/0.617, allocations: 177.4 kB / 0.9616 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003479/0.6174, allocations: 484.8 kB / 0.962 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.053e-05/0.6175, allocations: 102.3 kB / 0.9621 GB, free: 14.57 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.898e-05/0.6175, allocations: 101 kB / 0.9622 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.458e-05/0.6176, allocations: 185.5 kB / 0.9624 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-05/0.6177, allocations: 181.3 kB / 0.9626 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.43e-05/0.6177, allocations: 185 kB / 0.9628 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.111e-05/0.6178, allocations: 181.4 kB / 0.9629 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001625/0.618, allocations: 325.5 kB / 0.9632 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001186/0.6181, allocations: 200.7 kB / 0.9634 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.6182, allocations: 189.5 kB / 0.9636 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000145/0.6184, allocations: 110.1 kB / 0.9637 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.6184, allocations: 186 kB / 0.9639 GB, free: 12.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.568e-05/0.6185, allocations: 102.1 kB / 0.964 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002898/0.6188, allocations: 279.6 kB / 0.9643 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6188, allocations: 1.062 kB / 0.9643 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004111/0.6192, allocations: 80.91 kB / 0.9643 GB, free: 12.4 MB / 0.7325 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 (0): * Single equations (assignments): 0 * 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.0006969/0.6199, allocations: 0.9665 MB / 0.9653 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.000248/0.6202, allocations: 164.9 kB / 0.9654 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6202, allocations: 0 / 0.9654 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.243e-06/0.6202, allocations: 0 / 0.9654 GB, free: 11.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004087/0.6206, allocations: 468.3 kB / 0.9659 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00285/0.6235, allocations: 2.911 MB / 0.9687 GB, free: 8.816 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003976/0.6239, allocations: 0.7783 MB / 0.9695 GB, free: 8.07 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.6239, allocations: 6.891 kB / 0.9695 GB, free: 8.066 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.738e-05/0.624, allocations: 52.86 kB / 0.9696 GB, free: 8.016 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.624, allocations: 5.312 kB / 0.9696 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02685/0.6508, allocations: 6.374 MB / 0.9758 GB, free: 4.863 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.315/7.966, allocations: 12.03 kB / 0.9758 GB, free: 4.855 MB / 0.7325 GB (rm -f Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; mkfifo Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe >> ../files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.fmu > Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_Transmission_Functions_Validation_SelectCable_med.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.Transmission.Functions.Validation.SelectCable_med.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches