Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.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.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L",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.0008039/0.0008038, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.005204/0.005204, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.215/1.215, allocations: 223.3 MB / 240.3 MB, free: 5.324 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.19/2.19, allocations: 390.9 MB / 0.6664 GB, free: 2.395 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003359/0.0003358, allocations: 8 kB / 0.8161 GB, free: 13.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5676/0.568, allocations: 142.4 MB / 0.9552 GB, free: 7.594 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L): time 0.004909/0.5729, allocations: 5.679 MB / 0.9607 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003708/0.5766, allocations: 3.12 MB / 0.9638 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002827/0.5769, allocations: 24.72 kB / 0.9638 GB, free: 0.7656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002677/0.5772, allocations: 121.3 kB / 0.9639 GB, free: 0.6602 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0007544/0.578, allocations: 445.1 kB / 0.9643 GB, free: 324 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008298/0.5788, allocations: 441.6 kB / 0.9648 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001219/0.5801, allocations: 1.459 MB / 0.9662 GB, free: 15.19 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001535/0.5816, allocations: 0.987 MB / 0.9671 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004838/0.5821, allocations: 356.9 kB / 0.9675 GB, free: 14.35 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005177/0.5826, allocations: 449.4 kB / 0.9679 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 6.29e-05/0.5827, allocations: 31.25 kB / 0.9679 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008773/0.5836, allocations: 0.569 MB / 0.9685 GB, free: 13.78 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0002461/0.5838, allocations: 256.3 kB / 0.9687 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0003228/0.5842, allocations: 378.8 kB / 0.9691 GB, free: 13.37 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001065/0.5852, allocations: 1.17 MB / 0.9702 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.5853, allocations: 0 / 0.9702 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.202e-06/0.5853, allocations: 0 / 0.9702 GB, free: 12.58 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.5853, allocations: 1 kB / 0.9702 GB, free: 12.58 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.001252/0.5865, allocations: 0.907 MB / 0.9711 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.817e-05/0.5866, allocations: 14.2 kB / 0.9711 GB, free: 11.82 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000121/0.5867, allocations: 116.5 kB / 0.9713 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001414/0.5881, allocations: 217.5 kB / 0.9715 GB, free: 11.62 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006644/0.5888, allocations: 0.5321 MB / 0.972 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.908e-05/0.5888, allocations: 41.88 kB / 0.972 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001073/0.589, allocations: 73.62 kB / 0.9721 GB, free: 11.13 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001304/0.5903, allocations: 1.037 MB / 0.9731 GB, free: 10.37 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.787e-05/0.5903, allocations: 7.062 kB / 0.9731 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.5904, allocations: 24.88 kB / 0.9731 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.956e-05/0.5905, allocations: 71.23 kB / 0.9732 GB, free: 10.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009897/0.5915, allocations: 0.6908 MB / 0.9739 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004585/0.5961, allocations: 5.766 MB / 0.9795 GB, free: 4.578 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009016/0.597, allocations: 0.6028 MB / 0.9801 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008012/0.5978, allocations: 430.3 kB / 0.9805 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 3.118e-05/0.5978, allocations: 3 kB / 0.9805 GB, free: 3.941 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.5979, allocations: 37.22 kB / 0.9805 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=41): time 2.044e-06/0.5979, allocations: 0 / 0.9805 GB, free: 3.898 MB / 0.7325 GB Notification: Performance of matching and sorting (n=42): time 0.004171/0.6021, allocations: 2.068 MB / 0.9826 GB, free: 2.441 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.6021, allocations: 55.41 kB / 0.9826 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003995/0.6025, allocations: 454.7 kB / 0.9831 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.603e-05/0.6026, allocations: 37.7 kB / 0.9831 GB, free: 1.875 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001997/0.6028, allocations: 383 kB / 0.9835 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.6029, allocations: 153.9 kB / 0.9836 GB, free: 1.344 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.623e-05/0.6029, allocations: 53.69 kB / 0.9837 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001168/0.6031, allocations: 362.8 kB / 0.984 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003177/0.6034, allocations: 245.2 kB / 0.9842 GB, free: 0.6797 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004397/0.6038, allocations: 457 kB / 0.9847 GB, free: 144 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008271/0.6047, allocations: 0.7481 MB / 0.9854 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/0.6047, allocations: 4 kB / 0.9854 GB, free: 15.29 MB / 0.7481 GB Notification: Performance of matching and sorting (n=73) (initialization): time 0.001697/0.6064, allocations: 1.069 MB / 0.9864 GB, free: 14.2 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.6064, allocations: 8 kB / 0.9865 GB, free: 14.19 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.6064, allocations: 8 kB / 0.9865 GB, free: 14.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000959/0.6074, allocations: 331.7 kB / 0.9868 GB, free: 13.85 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003148/0.6077, allocations: 103.8 kB / 0.9869 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005942/0.6137, allocations: 6.947 MB / 0.9937 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.6141, allocations: 32.02 kB / 0.9937 GB, free: 6.234 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.6141, allocations: 28 kB / 0.9937 GB, free: 6.207 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (1,5,100.0%), (1,3,100.0%), (2,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000324/0.6145, allocations: 251.5 kB / 0.994 GB, free: 5.953 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.071e-05/0.6146, allocations: 55.34 kB / 0.994 GB, free: 5.898 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001653/0.6162, allocations: 0.9154 MB / 0.9949 GB, free: 4.957 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.6162, allocations: 4 kB / 0.9949 GB, free: 4.953 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.6162, allocations: 4 kB / 0.9949 GB, free: 4.949 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.6163, allocations: 3.984 kB / 0.9949 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002413/0.6187, allocations: 1.704 MB / 0.9966 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.6187, allocations: 0 / 0.9966 GB, free: 3.152 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001622/0.6189, allocations: 47.84 kB / 0.9966 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009154/0.6198, allocations: 319.3 kB / 0.9969 GB, free: 2.781 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.017e-05/0.6198, allocations: 12 kB / 0.9969 GB, free: 2.77 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005882/0.6257, allocations: 6.943 MB / 1.004 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.6257, allocations: 4 kB / 1.004 GB, free: 11.29 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.6273, allocations: 1.019 MB / 1.005 GB, free: 10.22 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002076/0.6275, allocations: 172.4 kB / 1.005 GB, free: 10.04 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.986e-05/0.6276, allocations: 16 kB / 1.005 GB, free: 10.02 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002884/0.6279, allocations: 15.98 kB / 1.005 GB, free: 10 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.926e-05/0.628, allocations: 51.81 kB / 1.005 GB, free: 9.953 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.395e-05/0.628, allocations: 8 kB / 1.005 GB, free: 9.945 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0002847/0.6283, allocations: 306.9 kB / 1.005 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6283, allocations: 0 / 1.005 GB, free: 9.648 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0007166/0.629, allocations: 192 kB / 1.005 GB, free: 9.461 MB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,7,88.9%), (2,2,100.0%), (1,3,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001767/0.6308, allocations: 1.56 MB / 1.007 GB, free: 7.844 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.001688/0.6325, allocations: 1.211 MB / 1.008 GB, free: 6.582 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.6325, allocations: 0 / 1.008 GB, free: 6.582 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001085/0.6336, allocations: 0.8621 MB / 1.009 GB, free: 5.668 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001032/0.6346, allocations: 186.6 kB / 1.009 GB, free: 5.488 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007694/0.6423, allocations: 6.25 MB / 1.015 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006379/0.643, allocations: 0.992 MB / 1.016 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.0002949/0.6433, allocations: 105.2 kB / 1.016 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002504/0.6435, allocations: 219.4 kB / 1.017 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of SimCode: time 2.61e-07/0.6436, allocations: 0 / 1.017 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.502/4.145, allocations: 14.44 MB / 1.031 GB, free: 15.4 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/4.146, allocations: 229.6 kB / 1.031 GB, free: 15.14 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/6.209, allocations: 4.062 kB / 1.031 GB, free: 15.14 MB / 0.795 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_L.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_L.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches