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.00146/0.00146, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001638/0.001638, allocations: 196.8 kB / 16.14 MB, free: 6.711 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: 222.9 MB / 239.8 MB, free: 4.551 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.321/2.321, allocations: 390.2 MB / 0.6643 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001396, allocations: 67.88 kB / 0.812 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6045, allocations: 140.4 MB / 0.949 GB, free: 9.121 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.DC.Lines.Examples.RCModel): time 0.004941/0.6095, allocations: 4.393 MB / 0.9533 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003911/0.6134, allocations: 1.865 MB / 0.9551 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005388/0.614, allocations: 11.09 kB / 0.9552 GB, free: 4.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001808/0.6159, allocations: 0.5499 MB / 0.9557 GB, free: 3.852 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0009183/0.6168, allocations: 247.3 kB / 0.9559 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.6176, allocations: 227.6 kB / 0.9561 GB, free: 3.492 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008175/0.6184, allocations: 0.8409 MB / 0.957 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005005/0.6189, allocations: 313.5 kB / 0.9573 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.6192, allocations: 215.3 kB / 0.9575 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004466/0.6196, allocations: 280.9 kB / 0.9577 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.14e-05/0.6197, allocations: 26.31 kB / 0.9578 GB, free: 2.602 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005628/0.6203, allocations: 309.7 kB / 0.9581 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001466/0.6204, allocations: 147.8 kB / 0.9582 GB, free: 2.344 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002281/0.6207, allocations: 207.8 kB / 0.9584 GB, free: 2.215 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007082/0.6214, allocations: 0.6117 MB / 0.959 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.6214, allocations: 0 / 0.959 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.6214, allocations: 0 / 0.959 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.045e-06/0.6214, allocations: 0 / 0.959 GB, free: 1.809 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.001245/0.6227, allocations: 0.723 MB / 0.9597 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.6227, allocations: 9.375 kB / 0.9597 GB, free: 1.195 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.947e-05/0.6228, allocations: 73.28 kB / 0.9598 GB, free: 1.129 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009878/0.6238, allocations: 146.2 kB / 0.9599 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004027/0.6242, allocations: 338.1 kB / 0.9602 GB, free: 0.7539 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.859e-05/0.6243, allocations: 26.72 kB / 0.9603 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.396e-05/0.6243, allocations: 37.28 kB / 0.9603 GB, free: 0.7227 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000776/0.6251, allocations: 0.5314 MB / 0.9608 GB, free: 372 kB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.6252, allocations: 5.094 kB / 0.9608 GB, free: 368 kB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.092e-05/0.6252, allocations: 12.62 kB / 0.9608 GB, free: 360 kB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.106e-05/0.6253, allocations: 36 kB / 0.9609 GB, free: 348 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005565/0.6258, allocations: 390.6 kB / 0.9612 GB, free: 156 kB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002871/0.6287, allocations: 2.395 MB / 0.9636 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005726/0.6293, allocations: 268.1 kB / 0.9638 GB, free: 13.74 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001664/0.6295, allocations: 120.9 kB / 0.964 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.6295, allocations: 0 / 0.964 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.779e-05/0.6295, allocations: 34.12 kB / 0.964 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=20): time 1.352e-06/0.6295, allocations: 0 / 0.964 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of matching and sorting (n=23): time 0.002416/0.6319, allocations: 1.129 MB / 0.9651 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.212e-05/0.632, allocations: 54.56 kB / 0.9651 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003808/0.6324, allocations: 303.8 kB / 0.9654 GB, free: 12.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.6324, allocations: 30.83 kB / 0.9655 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001528/0.6326, allocations: 229.3 kB / 0.9657 GB, free: 12.27 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.11e-05/0.6327, allocations: 77.75 kB / 0.9658 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.6328, allocations: 66 kB / 0.9658 GB, free: 12.15 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.6329, allocations: 342.4 kB / 0.9661 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001967/0.6331, allocations: 100.5 kB / 0.9662 GB, free: 11.77 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002618/0.6334, allocations: 192.4 kB / 0.9664 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004549/0.6338, allocations: 313.4 kB / 0.9667 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.6339, allocations: 0 / 0.9667 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008146/0.6347, allocations: 452 kB / 0.9672 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/0.6347, allocations: 8.469 kB / 0.9672 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.187e-06/0.6347, allocations: 2.219 kB / 0.9672 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003878/0.6351, allocations: 104.2 kB / 0.9673 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002931/0.6354, allocations: 64.47 kB / 0.9673 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003325/0.6388, allocations: 4.074 MB / 0.9713 GB, free: 6.883 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002688/0.6391, allocations: 17.56 kB / 0.9713 GB, free: 6.871 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.243e-05/0.6391, allocations: 9.469 kB / 0.9713 GB, free: 6.871 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.0002508/0.6393, allocations: 186.7 kB / 0.9715 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.6394, allocations: 32.61 kB / 0.9715 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.934e-05/0.6395, allocations: 41 kB / 0.9716 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.6395, allocations: 2.156 kB / 0.9716 GB, free: 6.656 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.768e-06/0.6395, allocations: 6.469 kB / 0.9716 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.6395, allocations: 0 / 0.9716 GB, free: 6.652 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004812/0.64, allocations: 401.6 kB / 0.972 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.64, allocations: 0 / 0.972 GB, free: 6.312 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000195/0.6402, allocations: 31.17 kB / 0.972 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003181/0.6406, allocations: 94.95 kB / 0.9721 GB, free: 6.246 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.804e-05/0.6406, allocations: 5.344 kB / 0.9721 GB, free: 6.242 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002774/0.6434, allocations: 4.063 MB / 0.9761 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.6434, allocations: 1 kB / 0.9761 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008353/0.6442, allocations: 0.558 MB / 0.9766 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.6444, allocations: 127.6 kB / 0.9767 GB, free: 1.586 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.273e-05/0.6444, allocations: 9.141 kB / 0.9767 GB, free: 1.578 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002171/0.6446, allocations: 11.31 kB / 0.9768 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.257e-05/0.6447, allocations: 20.06 kB / 0.9768 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.945e-05/0.6447, allocations: 9.188 kB / 0.9768 GB, free: 1.559 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002194/0.645, allocations: 208.9 kB / 0.977 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.645, allocations: 0 / 0.977 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0005481/0.6455, allocations: 99.69 kB / 0.9771 GB, free: 1.406 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.001138/0.6467, allocations: 1.1 MB / 0.9781 GB, free: 0.4961 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009123/0.6476, allocations: 0.6098 MB / 0.9787 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/0.6476, allocations: 1.156 kB / 0.9787 GB, free: 16 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0007302/0.6483, allocations: 478.1 kB / 0.9792 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000682/0.649, allocations: 77.16 kB / 0.9793 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005518/0.6546, allocations: 3.525 MB / 0.9827 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.6551, allocations: 0.8302 MB / 0.9835 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002595/0.6553, allocations: 58.66 kB / 0.9836 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001559/0.6555, allocations: 115 kB / 0.9837 GB, free: 12 MB / 0.7481 GB Notification: Performance of SimCode: time 6.51e-07/0.6555, allocations: 0 / 0.9837 GB, free: 12 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02111/0.6766, allocations: 7.359 MB / 0.9909 GB, free: 5.598 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001933/0.6768, allocations: 226.3 kB / 0.9911 GB, free: 5.332 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.872/2.548, allocations: 3.938 kB / 0.9911 GB, free: 5.328 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