Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.DC.Lines.Examples.RCModel,fileNamePrefix="Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel",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.0009674/0.0009674, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.006467/0.006468, allocations: 169.6 kB / 16.26 MB, free: 6.613 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.316/1.316, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.261/2.261, allocations: 390.9 MB / 0.6664 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003088/0.0003088, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6123/0.6126, allocations: 142.4 MB / 0.9552 GB, free: 7.762 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.003956/0.6166, allocations: 4.004 MB / 0.9591 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002443/0.6191, allocations: 1.827 MB / 0.9609 GB, free: 3.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001638/0.6192, allocations: 10.81 kB / 0.9609 GB, free: 3.23 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.6195, allocations: 69.11 kB / 0.9609 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.000501/0.62, allocations: 251.1 kB / 0.9612 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005029/0.6205, allocations: 224 kB / 0.9614 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007913/0.6213, allocations: 0.8456 MB / 0.9622 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000454/0.6217, allocations: 442 kB / 0.9626 GB, free: 2.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002117/0.622, allocations: 201.3 kB / 0.9628 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003838/0.6224, allocations: 257.6 kB / 0.9631 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.608e-05/0.6224, allocations: 20.28 kB / 0.9631 GB, free: 1.785 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004087/0.6228, allocations: 306.8 kB / 0.9634 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001103/0.6229, allocations: 131.9 kB / 0.9635 GB, free: 1.539 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001644/0.6231, allocations: 217.4 kB / 0.9637 GB, free: 1.391 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004921/0.6236, allocations: 0.6051 MB / 0.9643 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.554e-06/0.6236, allocations: 0 / 0.9643 GB, free: 0.9961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.11e-07/0.6236, allocations: 4 kB / 0.9643 GB, free: 0.9922 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.6236, allocations: 0 / 0.9643 GB, free: 0.9922 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.0009056/0.6246, allocations: 0.661 MB / 0.965 GB, free: 428 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/0.6246, allocations: 9.906 kB / 0.965 GB, free: 428 kB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.204e-05/0.6247, allocations: 76.47 kB / 0.965 GB, free: 356 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009301/0.6256, allocations: 146.2 kB / 0.9652 GB, free: 296 kB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003501/0.626, allocations: 330 kB / 0.9655 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.596e-05/0.626, allocations: 30.53 kB / 0.9655 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.6261, allocations: 34 kB / 0.9656 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007637/0.6269, allocations: 0.5317 MB / 0.9661 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.6269, allocations: 8.938 kB / 0.9661 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.07e-05/0.6269, allocations: 12.34 kB / 0.9661 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.198e-05/0.627, allocations: 35.88 kB / 0.9661 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005855/0.6276, allocations: 386.1 kB / 0.9665 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002445/0.63, allocations: 2.411 MB / 0.9689 GB, free: 13.11 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005082/0.6306, allocations: 265.1 kB / 0.9691 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001656/0.6307, allocations: 111.5 kB / 0.9692 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.6308, allocations: 2.406 kB / 0.9692 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.402e-05/0.6308, allocations: 31.84 kB / 0.9692 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.463e-06/0.6308, allocations: 3.938 kB / 0.9693 GB, free: 12.87 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.002075/0.6329, allocations: 1.13 MB / 0.9704 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.6329, allocations: 53.5 kB / 0.9704 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.6332, allocations: 300.6 kB / 0.9707 GB, free: 11.75 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.591e-05/0.6333, allocations: 30.83 kB / 0.9707 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001395/0.6334, allocations: 233.2 kB / 0.9709 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.081e-05/0.6335, allocations: 85.02 kB / 0.971 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.752e-05/0.6335, allocations: 32.14 kB / 0.9711 GB, free: 11.4 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.6337, allocations: 336.7 kB / 0.9714 GB, free: 11.07 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.6338, allocations: 105.3 kB / 0.9715 GB, free: 11.01 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002089/0.6341, allocations: 188.5 kB / 0.9717 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003939/0.6345, allocations: 317.4 kB / 0.972 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6345, allocations: 0 / 0.972 GB, free: 10.63 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007298/0.6352, allocations: 447.4 kB / 0.9724 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.6352, allocations: 8.375 kB / 0.9724 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6352, allocations: 2.75 kB / 0.9724 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003413/0.6356, allocations: 98.56 kB / 0.9725 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002664/0.6359, allocations: 65.27 kB / 0.9726 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002788/0.6387, allocations: 4.078 MB / 0.9765 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002129/0.6389, allocations: 7.969 kB / 0.9765 GB, free: 6.129 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.6389, allocations: 14.81 kB / 0.9766 GB, free: 6.125 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001895/0.6391, allocations: 190.9 kB / 0.9767 GB, free: 5.957 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.974e-05/0.6392, allocations: 34.94 kB / 0.9768 GB, free: 5.938 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.906e-05/0.6393, allocations: 38.06 kB / 0.9768 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.6393, allocations: 6.297 kB / 0.9768 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/0.6393, allocations: 2.531 kB / 0.9768 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6393, allocations: 0 / 0.9768 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004471/0.6397, allocations: 400.7 kB / 0.9772 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.6398, allocations: 5.219 kB / 0.9772 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.6399, allocations: 33.52 kB / 0.9772 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002889/0.6402, allocations: 95.31 kB / 0.9773 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.6403, allocations: 5.047 kB / 0.9773 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002683/0.643, allocations: 4.072 MB / 0.9813 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.643, allocations: 0 / 0.9813 GB, free: 1.328 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007701/0.6437, allocations: 0.5703 MB / 0.9819 GB, free: 0.9414 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001179/0.6439, allocations: 124.5 kB / 0.982 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.737e-05/0.6439, allocations: 5.359 kB / 0.982 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.6441, allocations: 11.44 kB / 0.982 GB, free: 0.8086 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.6442, allocations: 20.41 kB / 0.982 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.412e-05/0.6442, allocations: 3.781 kB / 0.982 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0001951/0.6444, allocations: 210.5 kB / 0.9822 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6444, allocations: 4.062 kB / 0.9822 GB, free: 0.6523 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004342/0.6448, allocations: 94.97 kB / 0.9823 GB, free: 0.6445 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (RC_dyn.Vc) * 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 (18): * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(1,1,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001015/0.6459, allocations: 1.106 MB / 0.9834 GB, free: 15.73 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0007693/0.6466, allocations: 0.6078 MB / 0.984 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.6467, allocations: 1.625 kB / 0.984 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.6471, allocations: 471.2 kB / 0.9844 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000485/0.6476, allocations: 74.7 kB / 0.9845 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003971/0.6516, allocations: 3.566 MB / 0.988 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.652, allocations: 0.8348 MB / 0.9888 GB, free: 10.98 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002029/0.6522, allocations: 58.92 kB / 0.9889 GB, free: 10.93 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.6523, allocations: 107.4 kB / 0.989 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of SimCode: time 4.21e-07/0.6523, allocations: 0 / 0.989 GB, free: 10.82 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01892/0.6713, allocations: 7.248 MB / 0.996 GB, free: 3.75 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001897/0.6715, allocations: 219.6 kB / 0.9963 GB, free: 3.492 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.939/2.61, allocations: 0 / 0.9963 GB, free: 3.492 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; mkfifo Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe >> ../files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_DC_Lines_Examples_RCModel.fmu > Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_DC_Lines_Examples_RCModel.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.DC.Lines.Examples.RCModel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches