Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008124/0.0008124, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008621/0.0008621, allocations: 170.3 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8411/0.8411, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.702/1.702, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.9997 GB, free: 13.55 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.312e-05/1.439e-05, allocations: 6.281 kB / 0.9997 GB, free: 13.54 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance): time 0.00319/0.003204, allocations: 3.582 MB / 1.003 GB, free: 9.941 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001751/0.004956, allocations: 1.757 MB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000149/0.005105, allocations: 27.75 kB / 1.005 GB, free: 8.148 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000568/0.005673, allocations: 262.6 kB / 1.005 GB, free: 7.891 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0003694/0.006042, allocations: 326.1 kB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002881/0.00633, allocations: 250.8 kB / 1.006 GB, free: 7.328 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0003991/0.006729, allocations: 0.6244 MB / 1.006 GB, free: 6.699 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002926/0.007022, allocations: 226.6 kB / 1.007 GB, free: 6.473 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003131/0.007335, allocations: 347 kB / 1.007 GB, free: 6.133 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001987/0.007534, allocations: 203.4 kB / 1.007 GB, free: 5.934 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.046e-05/0.007564, allocations: 28 kB / 1.007 GB, free: 5.906 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002156/0.00778, allocations: 247.3 kB / 1.007 GB, free: 5.664 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 9.604e-05/0.007876, allocations: 127.6 kB / 1.007 GB, free: 5.539 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 9.094e-05/0.007967, allocations: 139.6 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0004199/0.008387, allocations: 0.6074 MB / 1.008 GB, free: 4.793 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.008389, allocations: 4 kB / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.413e-06/0.008391, allocations: 0 / 1.008 GB, free: 4.789 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.008395, allocations: 3.938 kB / 1.008 GB, free: 4.785 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.0007138/0.009109, allocations: 0.6681 MB / 1.009 GB, free: 4.086 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.747e-05/0.009147, allocations: 8.75 kB / 1.009 GB, free: 4.078 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.246e-05/0.009199, allocations: 74.7 kB / 1.009 GB, free: 3.996 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000448/0.009647, allocations: 136.5 kB / 1.009 GB, free: 3.863 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003454/0.009992, allocations: 340.6 kB / 1.009 GB, free: 3.504 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.01001, allocations: 24.97 kB / 1.009 GB, free: 3.48 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.658e-05/0.01004, allocations: 32.36 kB / 1.009 GB, free: 3.449 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005037/0.01055, allocations: 0.6309 MB / 1.01 GB, free: 2.727 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.01056, allocations: 11.95 kB / 1.01 GB, free: 2.715 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.193e-05/0.01058, allocations: 12 kB / 1.01 GB, free: 2.703 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.551e-05/0.01063, allocations: 40.62 kB / 1.01 GB, free: 2.664 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004054/0.01104, allocations: 410.1 kB / 1.01 GB, free: 2.262 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001536/0.01257, allocations: 2.737 MB / 1.013 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004114/0.01298, allocations: 306.5 kB / 1.013 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.01315, allocations: 172.6 kB / 1.014 GB, free: 14.92 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 1.794e-05/0.01317, allocations: 4 kB / 1.014 GB, free: 14.91 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.01318, allocations: 42.5 kB / 1.014 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=26): time 1.673e-06/0.01318, allocations: 0 / 1.014 GB, free: 14.86 MB / 0.9792 GB Notification: Performance of matching and sorting (n=27): time 0.001103/0.01429, allocations: 0.8373 MB / 1.014 GB, free: 14.01 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.78e-05/0.01431, allocations: 59.58 kB / 1.015 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002146/0.01453, allocations: 353.5 kB / 1.015 GB, free: 13.58 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 1.726e-05/0.01455, allocations: 29.7 kB / 1.015 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001032/0.01465, allocations: 244.2 kB / 1.015 GB, free: 13.3 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 4.535e-05/0.01469, allocations: 103.1 kB / 1.015 GB, free: 13.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.839e-05/0.01476, allocations: 74.09 kB / 1.015 GB, free: 13.12 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 7.923e-05/0.01484, allocations: 350.8 kB / 1.016 GB, free: 12.77 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000158/0.015, allocations: 156.9 kB / 1.016 GB, free: 12.62 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.0152, allocations: 283.2 kB / 1.016 GB, free: 12.28 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003887/0.01559, allocations: 486.2 kB / 1.017 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.01559, allocations: 4 kB / 1.017 GB, free: 11.74 MB / 0.9792 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.0005513/0.01614, allocations: 0.5661 MB / 1.017 GB, free: 11.16 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01616, allocations: 4 kB / 1.017 GB, free: 11.15 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/0.01616, allocations: 8 kB / 1.017 GB, free: 11.14 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001741/0.01634, allocations: 86.44 kB / 1.017 GB, free: 11.05 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001711/0.01651, allocations: 87.89 kB / 1.017 GB, free: 10.96 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.01652, allocations: 16.33 kB / 1.017 GB, free: 10.95 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.01664, allocations: 31.97 kB / 1.017 GB, free: 10.92 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.755e-05/0.01666, allocations: 19.98 kB / 1.017 GB, free: 10.9 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (45): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001172/0.01678, allocations: 174.5 kB / 1.017 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.686e-05/0.01682, allocations: 43.72 kB / 1.018 GB, free: 10.68 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000504/0.01732, allocations: 464 kB / 1.018 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.01732, allocations: 7.984 kB / 1.018 GB, free: 10.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.01733, allocations: 4 kB / 1.018 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.946e-06/0.01733, allocations: 0 / 1.018 GB, free: 10.19 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008032/0.01814, allocations: 0.8862 MB / 1.019 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.01814, allocations: 0 / 1.019 GB, free: 9.238 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001104/0.01825, allocations: 51.91 kB / 1.019 GB, free: 9.188 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001243/0.01837, allocations: 90.53 kB / 1.019 GB, free: 9.09 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.196e-05/0.01838, allocations: 4 kB / 1.019 GB, free: 9.086 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.01839, allocations: 4 kB / 1.019 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.01839, allocations: 0 / 1.019 GB, free: 9.082 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004526/0.01884, allocations: 0.5432 MB / 1.02 GB, free: 8.504 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 7.807e-05/0.01892, allocations: 59.67 kB / 1.02 GB, free: 8.445 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.629e-05/0.01895, allocations: 8 kB / 1.02 GB, free: 8.438 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001032/0.01905, allocations: 19.97 kB / 1.02 GB, free: 8.418 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.0191, allocations: 39.83 kB / 1.02 GB, free: 8.379 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.768e-06/0.01911, allocations: 4 kB / 1.02 GB, free: 8.375 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001316/0.01924, allocations: 235.2 kB / 1.02 GB, free: 8.152 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7e-08/0.01924, allocations: 3.938 kB / 1.02 GB, free: 8.148 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0002505/0.01949, allocations: 88 kB / 1.02 GB, free: 8.062 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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 (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 3 systems {(2,100.0%), (2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006341/0.02012, allocations: 1.096 MB / 1.021 GB, free: 6.922 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.0004613/0.02059, allocations: 398.3 kB / 1.021 GB, free: 6.523 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.02059, allocations: 1.25 kB / 1.021 GB, free: 6.523 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0001955/0.02078, allocations: 190.6 kB / 1.022 GB, free: 6.328 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004062/0.02119, allocations: 133.9 kB / 1.022 GB, free: 6.199 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00279/0.02398, allocations: 3.699 MB / 1.025 GB, free: 2.262 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001264/0.02411, allocations: 223.7 kB / 1.026 GB, free: 2.02 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.02425, allocations: 87.33 kB / 1.026 GB, free: 1.934 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.02437, allocations: 128.5 kB / 1.026 GB, free: 1.809 MB / 0.9792 GB Notification: Performance of SimCode: time 7.32e-07/0.02437, allocations: 0 / 1.026 GB, free: 1.809 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02197/0.04634, allocations: 9.438 MB / 1.035 GB, free: 8.645 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.093/7.139, allocations: 2.031 kB / 1.035 GB, free: 8.645 MB / 0.9948 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; mkfifo Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe ; head -c 1048576 < Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe >> ../files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat --tempDir=temp_Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.fmu > Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Electrical_AC_OnePhase_Loads_Examples_VariableImpedance.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Electrical.AC.OnePhase.Loads.Examples.VariableImpedance.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.990921431221068]