Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.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,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine,fileNamePrefix="Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine",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.0008082/0.0008081, allocations: 97.64 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.005195/0.005195, allocations: 170.1 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.235/1.235, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.159/2.159, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003159/0.0003161, allocations: 8 kB / 0.8161 GB, free: 13.12 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5662/0.5666, allocations: 142.4 MB / 0.9552 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine): time 0.008567/0.5752, allocations: 10.36 MB / 0.9653 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01155/0.5868, allocations: 8.68 MB / 0.9738 GB, free: 8.934 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001008/0.5878, allocations: 55.66 kB / 0.9738 GB, free: 8.906 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00071/0.5885, allocations: 272.2 kB / 0.9741 GB, free: 8.676 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.003368/0.5919, allocations: 1.397 MB / 0.9755 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001378/0.5933, allocations: 0.6129 MB / 0.9761 GB, free: 7.113 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.002726/0.596, allocations: 2.896 MB / 0.9789 GB, free: 5.516 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002856/0.5989, allocations: 1.956 MB / 0.9808 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001264/0.6002, allocations: 0.82 MB / 0.9816 GB, free: 3.844 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001148/0.6013, allocations: 0.9442 MB / 0.9825 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001206/0.6015, allocations: 64 kB / 0.9826 GB, free: 3.137 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001483/0.6029, allocations: 0.8772 MB / 0.9834 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004004/0.6034, allocations: 490.3 kB / 0.9839 GB, free: 1.777 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007852/0.6041, allocations: 0.798 MB / 0.9847 GB, free: 0.9688 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002552/0.6067, allocations: 2.491 MB / 0.9871 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.6067, allocations: 3.938 kB / 0.9871 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.465e-06/0.6067, allocations: 0 / 0.9871 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.672e-05/0.6068, allocations: 0 / 0.9871 GB, free: 14.46 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 315 * Number of variables: 315 Notification: Performance of Generate backend data structure: time 0.0025/0.6093, allocations: 1.718 MB / 0.9888 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.749e-05/0.6093, allocations: 8.031 kB / 0.9888 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002045/0.6095, allocations: 190.1 kB / 0.989 GB, free: 12.49 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01081/0.6203, allocations: 2.109 MB / 0.991 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001665/0.622, allocations: 1.126 MB / 0.9921 GB, free: 9.191 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.117e-05/0.6221, allocations: 86.69 kB / 0.9922 GB, free: 9.105 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002087/0.6223, allocations: 119.9 kB / 0.9923 GB, free: 8.988 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005034/0.6274, allocations: 2.503 MB / 0.9948 GB, free: 6.336 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.6274, allocations: 15.81 kB / 0.9948 GB, free: 6.32 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001419/0.6276, allocations: 55.98 kB / 0.9949 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003168/0.6279, allocations: 126.1 kB / 0.995 GB, free: 6.141 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006989/0.6349, allocations: 2.588 MB / 0.9975 GB, free: 3.543 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01149/0.6464, allocations: 10.12 MB / 1.007 GB, free: 8.77 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006085/0.6525, allocations: 2.003 MB / 1.009 GB, free: 6.734 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002701/0.6552, allocations: 0.9933 MB / 1.01 GB, free: 5.738 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 3.668e-05/0.6552, allocations: 8.438 kB / 1.01 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.6553, allocations: 39 kB / 1.01 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=53): time 2.845e-06/0.6553, allocations: 0 / 1.01 GB, free: 5.684 MB / 0.7637 GB Notification: Performance of matching and sorting (n=81): time 0.02903/0.6843, allocations: 8.781 MB / 1.019 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.728e-05/0.6844, allocations: 64 kB / 1.019 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.6856, allocations: 1.105 MB / 1.02 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 8.694e-05/0.6857, allocations: 37.7 kB / 1.02 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004575/0.6862, allocations: 0.7302 MB / 1.021 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002221/0.6864, allocations: 283.9 kB / 1.021 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001392/0.6865, allocations: 81.67 kB / 1.021 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.6867, allocations: 349.9 kB / 1.021 GB, free: 10.15 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002824/0.6895, allocations: 1.087 MB / 1.023 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002918/0.6924, allocations: 1.325 MB / 1.024 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005746/0.6982, allocations: 2.425 MB / 1.026 GB, free: 5.121 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6982, allocations: 4 kB / 1.026 GB, free: 5.117 MB / 0.7794 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.008193/0.7064, allocations: 3.319 MB / 1.029 GB, free: 1.758 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.7064, allocations: 8 kB / 1.029 GB, free: 1.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/0.7064, allocations: 4 kB / 1.029 GB, free: 1.746 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/0.7089, allocations: 0.7956 MB / 1.03 GB, free: 0.9258 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001784/0.7107, allocations: 427.3 kB / 1.031 GB, free: 0.5078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.7237, allocations: 14.71 MB / 1.045 GB, free: 0.7266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002058/0.7258, allocations: 303.6 kB / 1.045 GB, free: 440 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.7259, allocations: 47.97 kB / 1.045 GB, free: 392 kB / 0.795 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 (82): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,2,100.0%), (3,5,100.0%), (3,5,100.0%), (2,4,100.0%), (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.0006742/0.7266, allocations: 401.7 kB / 1.046 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002657/0.7269, allocations: 142.3 kB / 1.046 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008493/0.7354, allocations: 3.249 MB / 1.049 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.7354, allocations: 15.94 kB / 1.049 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.9e-05/0.7354, allocations: 11.94 kB / 1.049 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.183e-06/0.7355, allocations: 3.984 kB / 1.049 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01037/0.7458, allocations: 4.947 MB / 1.054 GB, free: 7.438 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7458, allocations: 4 kB / 1.054 GB, free: 7.434 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001584/0.7474, allocations: 363.7 kB / 1.054 GB, free: 7.078 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002138/0.7496, allocations: 0.7013 MB / 1.055 GB, free: 6.355 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.505e-05/0.7497, allocations: 35.97 kB / 1.055 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01248/0.7622, allocations: 14.32 MB / 1.069 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.7622, allocations: 8.016 kB / 1.069 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007632/0.7698, allocations: 3.085 MB / 1.072 GB, free: 3.762 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005587/0.7704, allocations: 387.1 kB / 1.072 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002103/0.7706, allocations: 16 kB / 1.072 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/0.7724, allocations: 299.5 kB / 1.073 GB, free: 3.055 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/0.7726, allocations: 84.48 kB / 1.073 GB, free: 2.973 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.66e-05/0.7727, allocations: 35.97 kB / 1.073 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0008836/0.7736, allocations: 0.7404 MB / 1.073 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7736, allocations: 0 / 1.073 GB, free: 2.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.001259/0.7749, allocations: 436 kB / 1.074 GB, free: 1.77 MB / 0.8262 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (46): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 8 systems {(2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,5,100.0%), (2,2,100.0%), (2,4,100.0%), (2,2,100.0%), (3,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.007818/0.7827, allocations: 3.661 MB / 1.077 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.007888/0.7906, allocations: 3.664 MB / 1.081 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7906, allocations: 0 / 1.081 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.004571/0.7952, allocations: 2.387 MB / 1.083 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/0.7976, allocations: 488.4 kB / 1.084 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0326/0.8302, allocations: 17.29 MB / 1.101 GB, free: 5.332 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009401/0.8312, allocations: 1.388 MB / 1.102 GB, free: 3.914 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001414/0.8326, allocations: 371.9 kB / 1.102 GB, free: 3.547 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007562/0.8334, allocations: 0.5969 MB / 1.103 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of SimCode: time 5.41e-07/0.8334, allocations: 0 / 1.103 GB, free: 2.949 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.321/4.154, allocations: 39.54 MB / 1.142 GB, free: 11.99 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002177/4.154, allocations: 226.2 kB / 1.142 GB, free: 11.73 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.426/6.58, allocations: 0 / 1.142 GB, free: 11.73 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; mkfifo Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe ; head -c 1048576 < Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe >> ../files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat --tempDir=temp_Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.fmu > Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Electrical_AC_OnePhase_Lines_Examples_ACLine.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Electrical.AC.OnePhase.Lines.Examples.ACLine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches