Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.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.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL",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.001627/0.001627, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001929/0.001929, allocations: 194.6 kB / 16.25 MB, free: 6.621 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.292/1.292, allocations: 222.9 MB / 239.9 MB, free: 4.52 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.226/2.226, allocations: 390.2 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 55.91 kB / 0.8122 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5418/0.543, allocations: 140.4 MB / 0.9492 GB, free: 9.066 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL): time 0.005563/0.5486, allocations: 5.488 MB / 0.9546 GB, free: 4.824 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003225/0.5519, allocations: 2.611 MB / 0.9572 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002217/0.5521, allocations: 23 kB / 0.9572 GB, free: 2.754 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00138/0.5535, allocations: 0.629 MB / 0.9578 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0005795/0.5541, allocations: 383 kB / 0.9582 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006094/0.5547, allocations: 354.8 kB / 0.9585 GB, free: 1.723 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006617/0.5554, allocations: 0.9595 MB / 0.9594 GB, free: 1.172 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005793/0.556, allocations: 0.5106 MB / 0.9599 GB, free: 0.8828 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003304/0.5563, allocations: 380.2 kB / 0.9603 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000374/0.5567, allocations: 422.2 kB / 0.9607 GB, free: 432 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 6.949e-05/0.5568, allocations: 48.19 kB / 0.9607 GB, free: 432 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004321/0.5572, allocations: 358.6 kB / 0.9611 GB, free: 268 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001699/0.5574, allocations: 253.3 kB / 0.9613 GB, free: 100 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002842/0.5577, allocations: 343.2 kB / 0.9617 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0008906/0.5586, allocations: 0.9837 MB / 0.9626 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5586, allocations: 0 / 0.9626 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5586, allocations: 3.938 kB / 0.9626 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.488e-05/0.5586, allocations: 1.062 kB / 0.9626 GB, free: 15.21 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: 140 * Number of variables: 140 Notification: Performance of Generate backend data structure: time 0.001398/0.56, allocations: 0.9743 MB / 0.9636 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.208e-05/0.5601, allocations: 8.844 kB / 0.9636 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001089/0.5602, allocations: 103.2 kB / 0.9637 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001312/0.5615, allocations: 187.8 kB / 0.9639 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006186/0.5621, allocations: 492.2 kB / 0.9643 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.033e-05/0.5622, allocations: 38.23 kB / 0.9644 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001426/0.5623, allocations: 50.88 kB / 0.9644 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.5634, allocations: 0.8315 MB / 0.9652 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.101e-05/0.5635, allocations: 2.219 kB / 0.9652 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.004e-05/0.5635, allocations: 26.61 kB / 0.9653 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001873/0.5637, allocations: 67.25 kB / 0.9653 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008491/0.5646, allocations: 0.5707 MB / 0.9659 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003903/0.5685, allocations: 4.583 MB / 0.9703 GB, free: 8.602 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004261/0.5689, allocations: 300 kB / 0.9706 GB, free: 8.438 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002875/0.5692, allocations: 227.4 kB / 0.9709 GB, free: 8.32 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.895e-05/0.5693, allocations: 6.656 kB / 0.9709 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.559e-05/0.5693, allocations: 45 kB / 0.9709 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 1.412e-06/0.5693, allocations: 0 / 0.9709 GB, free: 8.266 MB / 0.7325 GB Notification: Performance of matching and sorting (n=40): time 0.005172/0.5745, allocations: 2.629 MB / 0.9735 GB, free: 6.555 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.914e-05/0.5745, allocations: 58.94 kB / 0.9735 GB, free: 6.488 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004321/0.575, allocations: 458.2 kB / 0.974 GB, free: 6.207 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.658e-05/0.575, allocations: 31.11 kB / 0.974 GB, free: 6.172 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001958/0.5752, allocations: 343.1 kB / 0.9743 GB, free: 5.863 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.5753, allocations: 144.7 kB / 0.9745 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001529/0.5755, allocations: 103.1 kB / 0.9746 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.5756, allocations: 362.2 kB / 0.9749 GB, free: 5.324 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000326/0.576, allocations: 239.9 kB / 0.9751 GB, free: 5.207 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004322/0.5764, allocations: 402.5 kB / 0.9755 GB, free: 4.871 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008019/0.5772, allocations: 0.6812 MB / 0.9762 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5772, allocations: 1.125 kB / 0.9762 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00156/0.5788, allocations: 0.9284 MB / 0.9771 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.5788, allocations: 7.219 kB / 0.9771 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.5788, allocations: 5 kB / 0.9771 GB, free: 3.863 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007602/0.5796, allocations: 227.3 kB / 0.9773 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004734/0.5801, allocations: 112.6 kB / 0.9774 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004772/0.5848, allocations: 5.34 MB / 0.9826 GB, free: 14.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003799/0.5852, allocations: 31.97 kB / 0.9827 GB, free: 14.49 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.059e-05/0.5853, allocations: 27.98 kB / 0.9827 GB, free: 14.46 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * 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 (58): * Single equations (assignments): 55 * 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 {(2,4,100.0%), (2,2,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0002443/0.5855, allocations: 221.7 kB / 0.9829 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.924e-05/0.5856, allocations: 59.28 kB / 0.983 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001454/0.5871, allocations: 0.7772 MB / 0.9837 GB, free: 13.38 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.5871, allocations: 8 kB / 0.9837 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.5871, allocations: 0 / 0.9837 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.5871, allocations: 4.125 kB / 0.9837 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002256/0.5894, allocations: 1.494 MB / 0.9852 GB, free: 11.79 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/0.5894, allocations: 7.984 kB / 0.9852 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000365/0.5898, allocations: 67.88 kB / 0.9853 GB, free: 11.71 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006809/0.5905, allocations: 206.7 kB / 0.9855 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.555e-05/0.5905, allocations: 15.98 kB / 0.9855 GB, free: 11.48 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004545/0.5951, allocations: 5.265 MB / 0.9906 GB, free: 5.797 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.5951, allocations: 4.031 kB / 0.9906 GB, free: 5.793 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001648/0.5967, allocations: 1.139 MB / 0.9917 GB, free: 4.605 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.5969, allocations: 180.4 kB / 0.9919 GB, free: 4.41 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.597, allocations: 8 kB / 0.9919 GB, free: 4.402 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003196/0.5974, allocations: 23.97 kB / 0.9919 GB, free: 4.379 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.825e-05/0.5974, allocations: 35.95 kB / 0.992 GB, free: 4.344 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.613e-05/0.5975, allocations: 8 kB / 0.992 GB, free: 4.336 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0003039/0.5978, allocations: 314.9 kB / 0.9923 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of sort global known variables: time 2e-07/0.5978, allocations: 0 / 0.9923 GB, free: 4.031 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005796/0.5984, allocations: 168 kB / 0.9924 GB, free: 3.867 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (RL_3.i_p[1],RL_3.i_p[2]) * 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 (30): * Single equations (assignments): 27 * 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 {(2,2,100.0%), (2,4,100.0%), (2,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.001934/0.6003, allocations: 1.699 MB / 0.9941 GB, free: 2.109 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.00152/0.6018, allocations: 1.053 MB / 0.9951 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.6019, allocations: 0 / 0.9951 GB, free: 1.02 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0008939/0.6028, allocations: 0.6799 MB / 0.9958 GB, free: 308 kB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000829/0.6036, allocations: 185.2 kB / 0.996 GB, free: 128 kB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007389/0.611, allocations: 5.913 MB / 1.002 GB, free: 9.914 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004906/0.6115, allocations: 0.9455 MB / 1.003 GB, free: 8.941 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0003494/0.6119, allocations: 117 kB / 1.003 GB, free: 8.828 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002559/0.6121, allocations: 207.4 kB / 1.003 GB, free: 8.625 MB / 0.7637 GB Notification: Performance of SimCode: time 2.7e-07/0.6121, allocations: 0 / 1.003 GB, free: 8.625 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4334/1.046, allocations: 13.89 MB / 1.017 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003111/1.046, allocations: 234.7 kB / 1.017 GB, free: 10.76 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.092/3.138, allocations: 10.66 kB / 1.017 GB, free: 10.75 MB / 0.7794 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_RL.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_RL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches